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 1.4.1

Published by franneck94 about 3 years ago

Version 1.4.1: September 20, 2021

  • Bugfix: Fixed big for deactivation event with Makefile projects.
Vscode-C-Cpp-Runner - Release 1.4.0

Published by franneck94 about 3 years ago

Version 1.4.0: September 18, 2021

  • Improvement: Updated activation/deactivation logic with the previously called keybinding toggleStatusBar which is now called toggleExtensionState. By this command, you can de-/activate the extension for the current workspace. If the extension is deactivated, the setting/properties/launch files won't be re-created on delete.
  • Improvement: In a workspace with multiple sub-directories, and hence the active folder is not selected on start-up, the settings and properties files are created once the active folder is selected. This speeds up the start-up time for vscode with this extension activated and makes no difference in the usage of this extension.
  • Improvement: Added command to reset local settings and properties file
  • Bugfix: Fixed issue for Windows PowerShell users with the experimental setting. Now the CMD is also used to execute the tasks even if the PowerShell is the default terminal.
Vscode-C-Cpp-Runner - Release 1.3.0

Published by franneck94 about 3 years ago

Version 1.3.0: August 28, 2021

  • Improvement: Update gcc/clang search logic, to only search in /usr/ and /usr/bin/ on linux, and only in paths containing cygwin, mingw or msys on windows
  • Improvement: If the build path contains whitespaces or non-extended ascii chars the extension's experimental code runner is used instead of Makefile
  • Bugfix: Fixed using incorrect compiler path in experimental setting

Version 1.2.0: August 25, 2021

  • Feature: Added pretty print for gdb in debug (launch) configuration
Vscode-C-Cpp-Runner - Release 1.1.5

Published by franneck94 about 3 years ago

Version 1.1.5: August 16, 2021

  • Fixed problem with empty arguments for executing the binary on windows with mingw compiler
Vscode-C-Cpp-Runner - Release 1.1.4

Published by franneck94 about 3 years ago

Version 1.1.4: August 15, 2021

  • Fixed problem with Linker Args
  • Updated README

Version 1.1.3: July 27, 2021

  • Fixed problem with Makefile in .vscode folder (regarding my Udemy Courses setup)

Version 1.1.2: July 26, 2021

  • Updated run task for windows such that the executable name has .exe file extension since this is needed for MinGW
  • Fixed bug that debugging the release build was not possible
Vscode-C-Cpp-Runner - Release 1.1.1

Published by franneck94 about 3 years ago

Version 1.1.1: July 26, 2021

  • Issue: Creating and deleting build folder is now executed by the extension code and not anymore by the Makefile
Vscode-C-Cpp-Runner - Release 1.1.0

Published by franneck94 about 3 years ago

Version 1.1.0: July 24, 2021

  • Added experimental setting to run compiler commands without Makefile
Vscode-C-Cpp-Runner - Release 1.0.2

Published by franneck94 over 3 years ago

Version 1.0.2: July 9, 2021

  • Fixed bug for compiler search on Linux and Mac
Vscode-C-Cpp-Runner - Release 1.0.1

Published by franneck94 over 3 years ago

Version 1.0.1: July 4, 2021

  • Added information message if a path has whitespaces. Makefile can not work with paths/filenames with whitespaces properly.
Vscode-C-Cpp-Runner - Release 1.0.0

Published by franneck94 over 3 years ago

Version 1.0.0: July 3, 2021

  • Following settings are now array of strings instead of strings:
    • C_Cpp_runner.warnings
    • C_Cpp_runner.includePaths
    • C_Cpp_runner.compilerArgs
    • C_Cpp_runner.linkerArgs

So for example previously we used:

{
  "C_Cpp_Runner.warnings": "-Wall -Wextra -Wpedantic"
}

This would now be:

{
  "C_Cpp_Runner.warnings": [
    "-Wall",
    "-Wextra",
    "-Wpedantic"
  ]
}
  • All settings are now stored to the local .vscode/settings.json file
Vscode-C-Cpp-Runner - Version 0.17.1

Published by franneck94 over 3 years ago

Version 0.17.1: June 16, 2021

  • Bugfix: Bugfix for passing multiple include paths
Vscode-C-Cpp-Runner - Release 0.17.0

Published by franneck94 over 3 years ago

Version 0.17.0: June 13, 2021

  • Improvement: Added option for glob patterns to exclude from the selected folder search
  • Bugfix: Bugfix for configuration triplet
Vscode-C-Cpp-Runner - Release 0.16.0

Published by franneck94 over 3 years ago

Version 0.16.0: June 12, 2021

  • Improvement: Updating c_cpp_properties.json and launch.json do trigger an update for settings.json. Hence, the user can edit any of these files and all other files are updated accordingly.
  • Improvement: Updated compiler search on windows, to speed-up the process.
  • Info: Added some unit tests. Will be extended in the future.
  • Bugfix: Several bug fixes

Version 0.15.0: June 7, 2021

  • Info: If settings/properties were configured e.g. windows and the project is opened in for example Linux, the commands (compiler, etc.) are searched again and stored in the settings.json/c_cpp_properties.json file
  • Bugfix: Fixed extension crash
Vscode-C-Cpp-Runner - Release 0.14.2

Published by franneck94 over 3 years ago

Version 0.14.2: June 3, 2021

  • Info: When using cygwin64 the intellisense triplet is changed to "linux" due to the following issue.

Version 0.14.1: June 1, 2021

  • Bugfix: Fixed crash when no compiler was found
  • Info: Do not list folders in the selection that contain '__' (2 underscores)
  • Info: Do not list folders that are named 'build' (equallity check)
  • Info: Added x64 as default architecture
Vscode-C-Cpp-Runner - Release 0.14.0

Published by franneck94 over 3 years ago

Version 0.14.0: May 26, 2021

  • Feature: Added option to pass arguments to the binary for running and debugging. Users can set the arguments by the new keybinding ctrl+shift+a.
  • Bugfix: Fixed bug for shortened folder path in the status bar.
  • Important Info: Removed ctrl+rshift+r keybinding for the tasks dropdown menu. If the user does not want to use the status bar items, the commands can be executed from the command palette.
  • Info: Removed extension activation "onDebugResolve:c/cpp" since the debugging is not triggered by the user anyway.
  • Info: Removed extension activation "workspaceContains:.vscode/c_cpp_properties.json" since this may result in extension activations where the user does not intend to use c/cpp code.
Vscode-C-Cpp-Runner - Release 0.13.0

Published by franneck94 over 3 years ago

Version 0.13.0: May 19, 2021

  • Improvement: Selected folder path is shortened in the status bar.
  • Improvement: Remove x86/x64 architecture from build mode. The user should rather select an appropriate x86 or x64 compiler in the settings.
  • Improvement: Default c and cpp standard is now the compiler's default.
  • Improvement: Improved look-up performance for installed software.
Vscode-C-Cpp-Runner - Release 0.12.0 and 0.12.1

Published by franneck94 over 3 years ago

Version 0.12.1: May 10, 2021

  • Bugfix: Fixed naming "c_cpp_Properties.json" to "c_cpp_properties.json".

Version 0.12.0: May 09, 2021

  • Info: Extension does not show up if a Makefile is present in the root directory of the workspace or inside the .vscode folder of the workspace
Vscode-C-Cpp-Runner - Release 0.11.0

Published by franneck94 over 3 years ago

Version 0.11.0: April 29, 2021

  • Improvement: The settings are now read/saved correctly in a use case with multiple workspaces.
    A multi-workspace setting is now fully compatible with the extension.
  • Bugfix: External console is now set to false for Mac due to debugging issues.

Version 0.10.0: April 26, 2021

  • Info: Updated display logic of status bar items. For more info see the here
  • Info: Added logging entries
  • Info: Updated project structure
Vscode-C-Cpp-Runner - Release 0.9.1

Published by franneck94 over 3 years ago

Version 0.9.1: April 23, 2021

  • Bugfix: Major bugfix of tasks were not working

Version 0.9.0: April 23, 2021

  • Bugfix: Makefile issue with Windows/MinGW
  • Info: Added try/catch clauses to all IO related functions
  • Info: Added logger to log certain infos/errors. Also added setting 'loggingActive' to activate the logger
Vscode-C-Cpp-Runner - Release 0.8.2

Published by franneck94 over 3 years ago

Version 0.8.2: April 19, 2021

  • Bugfix: Set debug console to external for lldb (MacOS) - see: github issue
  • Bugfix: Makefile arguments that can hold multiple values are now passed with "" instead of ''
  • Bugfix: In a multi-root workspace use-case, the file watchers were not updated to a new selected workspace (on workspace change)
  • Info: In a multi-root workspace use-case, the extension's settings are stored to the '.code-workspace' file

Version 0.8.1: April 14, 2021

  • Bugfix: Commands are now callable if the extension is not activated
  • Bugfix: Now the correct debug config is used
  • Bugfix: Removed bug that the debug task was always executed when the selected folder has "debug" in its name
  • Improvement: Now filtering only the target files on delete events
  • Info: Toggle status bar command changes to Ctrl+Alt+R
  • Info: Added toggle command description to README