Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀

MIT License

Stars
51
Vscode-C-Cpp-Runner - Version 4.0.2

Published by franneck94 over 2 years ago

Version 4.0.2: May 23, 2022

  • Regression: Fixed properties <=> settings sync bugs

Version 4.0.1: May 22, 2022

  • Regression: Fixed failing msvc compilation with multiple source files
  • Regression: Fixed properties <=> settings sync bug
Vscode-C-Cpp-Runner - Release 4.0.0

Published by franneck94 over 2 years ago

Version 4.0.0: May 17, 2022

  • Info: Major update about the settings handling. Now, the global (default) settings are used to generate the local .vscode settings files, instead of searching for any compiler installation on your computer. If you do not set an absolute compiler path in the settings, it is expected to have the compiler in the PATH variables (like calling gcc in the terminal).
  • Info: Added boolean flag setting useMsvc to indicate if the user wants to use MSVC instead of GCC/Clang in the current workspace.
  • Info: Clang on windows (backed by MSVC) will also use the MSVC debuggee type
  • Info: Updated settings.json <=> c_cpp_properties.json sync:
    • Only syncing: C/C++ compiler path, C/C++ standard and include paths
Vscode-C-Cpp-Runner - Version 3.3.0

Published by franneck94 over 2 years ago

Version 3.3.0: April 14, 2022

  • Info: For debugging the internal console is now used on all operating systems
  • Info: Removed not working logging
Vscode-C-Cpp-Runner - Version 3.2.3

Published by franneck94 over 2 years ago

Version 3.2.3: March 22, 2022

  • Bugfix: Fixed cmd argument bugs
  • Bugfix: Fixed double folder entries in folder selection
Vscode-C-Cpp-Runner - Version 3.2.2

Published by franneck94 over 2 years ago

Version 3.2.2: March 6, 2022

  • Internal: Removed task provider
  • Regression: Fixed CMD arguments bug with whitespaces

Version 3.2.1: March 5, 2022

  • Regression: Fixed problem with whitespaces in workspace dir

Version 3.2.0: March 5, 2022

  • Info: Now using relative paths for building the binary, hence the console output is shortened and more readable
  • Bugfix: Hot fix since extension was not working anymore with VSCode 1.65.0
Vscode-C-Cpp-Runner - Version 3.1.1

Published by franneck94 over 2 years ago

Version 3.1.1: January 31, 2021

  • Info: Updated MSVC instructions

Version 3.1.0: January 19, 2021

  • Info: Removed Makefile deactivation
  • Info: Updated README
Vscode-C-Cpp-Runner - Version 3.0.0

Published by franneck94 almost 3 years ago

Version 3.0.0: December 31, 2021

  • Feature: MSVC Compiler Support
    • Add Compiler Commands
    • Add Setting for MSVC Batch Path
      • E.g.: "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat"
    • MSVC Host/Target architecture is equal to current architecture
    • Added debug config for MSVC
    • Default warning level for MSVC is /W4, this will be set if MSVC "mode" is active
    • Default C version is c17 for MSVC
  • Info: Removed warnings from compiler args in c_cpp_properties.json
  • Feature: Updated logic for exclude pattern for folder selection
  • Feature: Added Include pattern for folder selection
Vscode-C-Cpp-Runner - Version 2.1.1

Published by franneck94 almost 3 years ago

Version 2.1.1: December 21, 2021

  • Bugfix: Now passing linker args after the object files
Vscode-C-Cpp-Runner - Version 2.1.0

Published by franneck94 almost 3 years ago

Version 2.1.0: December 07, 2021

  • Info: Load global C_Cpp.default.includePath setting for the extensions includePaths
  • Bugfix: Opening a project for the first time with the C/C++ Runner extension and an already existing c_cpp_properties.json file, the compiler args are now correctly read-in.
Vscode-C-Cpp-Runner - Version 2.0.5

Published by franneck94 almost 3 years ago

Version 2.0.5: November 29, 2021

  • Info: Updated README
  • Info: Now using the internal console for debugging on Mac M1
  • Bugfix: Command-line arguments are now stored in a single line in launch.json's args array, thus whitespaces in the arguments are handled correct
Vscode-C-Cpp-Runner - Version 2.0.4

Published by franneck94 almost 3 years ago

Version 2.0.4: November 23, 2021

  • Info: On windows, the paths in the launch.json file are now stored with "/" instead of "\"
  • Info: On windows, the commands are now always launched in an extra CMD instance
Vscode-C-Cpp-Runner - Version 2.0.3

Published by franneck94 almost 3 years ago

Version 2.0.3: November 22, 2021

Regression Bugfix: Fixed issue with cmd arguments

Version 2.0.2: November 22, 2021

Bugfix: Fixed issue for ARM64 Mac user

Vscode-C-Cpp-Runner - Version 2.0.2

Published by franneck94 almost 3 years ago

Version 2.0.2: November 17, 2021

Bugfix: Fixed issue for ARM64 Mac user

Vscode-C-Cpp-Runner - Version 2.0.1

Published by franneck94 almost 3 years ago

Version 2.0.1: November 17, 2021

Regression Bugfix: Fixed issue for handling whitespaces in paths

Vscode-C-Cpp-Runner - Version 2.0.0

Published by franneck94 almost 3 years ago

Version 2.0.0: November 16, 2021

  • Makefile is not used anymore and hence it is no dependency, instead all commands are directly executed with VSCode's task API
  • Info: Added C++23 Standard to C_Cpp_Runner.cppStandard setting
  • Improvement: Added shortcut for active folder selection ctrl+alt+f
  • Improvement: Added shortcut for build mode selection ctrl+alt+g
  • Info: Added vadimcn.vscode-lldb as an extension dependency since this will be used for debugging on Mac with M1 chip
  • Info: Updated debug target on MacOS with an ARM chip
Vscode-C-Cpp-Runner - Version 1.5.5

Published by franneck94 almost 3 years ago

Version 1.5.5: November 12, 2021

  • Info: For Windows users the paths to the compiler tools are now stored with single slashed "/" instead of double back slashes "\\" due to issues with the properties handler of Microsoft's C/C++ extension
Vscode-C-Cpp-Runner - Version 1.5.4

Published by franneck94 almost 3 years ago

Version 1.5.4: November 10, 2021

  • Bugfix: Bugfix for settings detection based on c_cpp_properties.json file when there is no local settings.json file present

Version 1.5.3: November 09, 2021

  • Bugfix: For a single file task the Compiler, Linker, and Include args are now correctly handled
Vscode-C-Cpp-Runner - Version 1.5.2

Published by franneck94 almost 3 years ago

Version 1.5.2: October 28, 2021

  • Bugfix: For a single file task the command line arguments are now passed into the executable call
  • Bugfix: For single-file task the active folder is now updated

Version 1.5.1: October 28, 2021

  • Bugfix: Fixed bug where single file tasks can't be executed when no active folder was selected
Vscode-C-Cpp-Runner - Version 1.5.0

Published by franneck94 almost 3 years ago

Version 1.5.0: October 27, 2021

  • Improvement: If the workspace is opened with an existing c_cpp_properties file but no settings.json file, the settings from the properties file are now used for initialization
  • Info: For Windows users with one of the following conditions, the experimental setting (compiling without Makefile) is now the standard due to several issues in the past:
    • MinGW (e.g. MSYS2) users
    • Space in the username
    • Any space in the filenames of the active folder
  • Info: Toggle extension keybind command is changed from ctrl+alt+r to ctrl+alt+t
  • Info: Commandline arguments keybind command is changed from ctrl+shift+a to ctrl+alt+a
  • Improvement: Added following commands for single C/C++ files:
    • Build single file (ctrl+alt+b) - b for build
    • Run single file (ctrl+alt+r) - r for run
    • Debug single file (ctrl+alt+d) - d for debug
Vscode-C-Cpp-Runner - Version 1.4.2

Published by franneck94 almost 3 years ago

Version 1.4.2: October 25, 2021

  • Info: Set mac launch config to externalConsole andf stopAtEntry.