vscode-cmake-tools/CHANGELOG.pre-0.11.0.md

12 KiB

Change History

0.10.0

  • VS 2017 environment detection! Finally! Note: We use vswhere to find the local Visual Studio installation, and this program is only bundled with Visual Studio 2017 Update 2 (or newer). Please install (at least) update 2 for automatic detection to work
  • Lots of small bugfixes and tweaks, and debugging documentation updates. Many thanks to Yuri Timenkov.
  • 0.10.1:
    • Option cmake.buildBeforeRun to enable/disable building of a target before running/debugging it. (Default is enabled)
    • Changes in the way Visual Studio generators are loaded and detected. Now, generators for detected build environments are added to the preferred list. (Thanks to Yuri Timenkov!)
    • Fix issue where cmake-server could be restarted too quickly and break itself.
    • ${variable} substitution is now supported in the cmake.*Environment settings. (Thanks to Damien Courtois!)
  • 0.10.2:
    • Support for Emscripten environment detection. Set the cmake.emscriptenSearchDirs setting or the EMSCRIPTEN environment variable to the root path of the Emscripten SDK (Contains cmake/Modules/Platform/Emscripten.cmake)
    • Fix environment variables not passing from settings.json to configuration.
  • 0.10.3:
    • Bugfixes:
      • Debugging works again in the VSCode October update
      • Various
  • 0.10.4:
    • Tweaks:
      • VSWhere is now bundled with the extension, so it isn't required to be installed at a specific version. Fixes #254 and #235.
    • Request for feedback and beta testing.

0.9.0

  • Experimental CMake Server support has landed. Read more here.
  • Experimental graphical CMake cache editor. The Edit the CMake Cache command now opens up a dedicated UI within VS Code for viewing and modifying values stored in the CMake cache. Read more here.
  • CTest coverage! Now code coverage can be viewed inline after it has been collected by CTest. This requires that CTest be executed with -T Coverage from the command line (CMake Tools does not yet do this automatically).
  • 0.9.1: Fix issues with CMake Server and cache editor.
  • 0.9.2: Fix issues with environment variables on Windows.
  • 0.9.3: Various bugfixes. Shiny new icon.
  • 0.9.4:
    • Fix issues with GCC template error parsing
    • Do not forcibly set BUILD_SHARED_LIBS
    • Fix issues with incorrect debug paths with cmake-server
    • cmake.platform setting for controlling the -A CMake option.
    • New command cmake.launchTargetProgramPath for usage in launch.json:
      • This means that other debuggers can be used with CMake Tools just by setting them up with launch.json, using ${command.cmake.launchTargetProgramPath} as the path to the program. VSCode will replace that with the path from CMake Tools. This makes setting up permanent debugging configurations easier than before. Also, the Debug button in the status bar is only visible if the Microsoft C/C++ extension is installed, since that button is currently hard-coded to use it.
  • 0.9.5:
    • Launching targets without a debugger (default bound to shift+f5).
    • The path to CTest is more intelligent. Can also be manually overridden with cmake.ctestPath.
    • CMake Server is now enabled by default for new-enough CMake versions. It can still be disabled in the user settings.
    • Fixes for using Xcode
    • Many smaller fixes and tweaks after the long hiatus in development.
  • 0.9.6: Fix startup issue on Windows
  • 0.9.7:
    • Fix startup and reliability issues, especially with older CMake versions. Special thanks to ytimenkov

0.8.0:

  • Automatic Environment Selection. CMake Tools will now automatically detect available build environments and let you select them using a quick-pick. This means no more starting Code from a Visual Studio developer command prompt! Currently supports Visual Studio 2013 and 2015 for x86 and amd64. The environment chosen will be saved and persisted to the workspace.
  • Configuration options for the default build variants.
  • Configuration option for CTest command line arguments.
  • 0.8.1: Fix deadlock on startup.
  • 0.8.2-4: More fixes for environment loading.
  • 0.8.5:
    • New ${workspaceRootFolderName} available in config substitution.
    • New API exported for other extensions. See here.
  • 0.8.6: Tweaking output
  • 0.8.7:
    • This version contains an enormous refactor of the codebase in preparation for CMake Server support.
  • 0.8.8
    • Many bugfixes
    • Support for MinGW build environments. See documentation for cmake.mingwSearchDirs.

Version 0.7.0

  • NEW Greater CTest integration! Test output now has a dedicated output channel and statusbar entry. Pressing the statusbar entry will execute tests and show the number of failing/passing tests. Additionally, Catch test output is now parsed and generates inline decorations to mark failing assertions along with failure information.*
  • Updated to new vscode/Node APIs for TypeScript 2.0.
  • Various bug fixes and tweaks.
  • 0.7.1: Bug fixes and tweaks.
  • 0.7.2:
    • Support for error message parsing for the Green Hills Compilers, special thanks goes to bbosnjak!
    • Various fixes and tweaks.
  • 0.7.3:
    • Many small fixes and tweaks
    • More thorough tests, this will lead to faster development and less bugs in the future.
    • NEW: After being frequently asked to add the ability to do platform-granular configuration, the configuration system has been changed so that virtually all configuration options now allow different values based on platform. For any given cmake.<option>, there are now three options following the same format of cmake.<platform>.<option>, where platform is one of linux, osx, or windows. Note that this deprecates the old cmake.generator.<platform> settings.
  • 0.7.4:
    • Target debugging is now enabled by default, and has been assigned a ctrl+f5 keybinding
    • Fix issue with being able to switch back to the all target
    • Fix issue with CTest output being garbled without line breaks
    • Fix extension not responding when build tools generate large amounts of output.*
    • New make-shift progress bar for build progress (supports Make and Ninja).*
    • Options to control what output parsers are enabled* * Special thanks goes to bbosnjak for these ones!
  • 0.7.5:
    • Fix issue of repeated warnings regarding ${buildType} in buildDirectory.
    • Fix issue with CMakeToolsHelpers and Visual Studio generators.
    • Fix clear reconfigure failing to clean the build directory.

Version 0.6.0

NEW Build variants. This makes working with complex projects simpler while simple projects remain simple. Read about it here. Please Remember: If you find an issue or have a question/request, feel free to open an issue on the GitHub page. Thanks!

Version 0.5.0

  • Target Debugging! This feature is still experimental, and is disabled by default. Click here to learn about how to enable and use this new feature, and click here to provide feedback..
  • Updated to use TypeScript 2.0, which brings more stability and code simplicity behind the scenes.
  • 0.5.5:
    • Generator can be forced using the cmake.generator.<platform> settings, or cmake.generator.all to apply one generator to all platforms.
    • The CMake toolset (the -T option) can be set using the cmake.toolset.<platform. settings.
    • Arbitrary arguments can be passed to CMake during configure, build, and to the underlying build tool using the cmake.{configureArgs,buildArgs,buildToolArgs} set of configuration options.
  • 0.5.6: Tweaks to diagnostic parsing:
    • Now parses for GNU ld-style linker errors
    • Recognizes "fatal error" in addition to regular errors.
  • 0.5.7:
    • Fix issues with filepath normalization
    • Fix the helper script generating many errors when using VS generator
    • Fix for the initial default target being 'all' for VS generators

Version 0.4.1

  • Ability to disable compiler diagnostic parsing, in the case of some better diagnostic providers being present.
  • No longer prompt to configure before invoking the build command, just configure and build.
  • Various fixes and tweaks.

Version 0.4.0

  • Huge refactor of code. If you find that something has broken for you, PLEASE feel free to open an issue on GitHub! I really appreciate it, thanks!

  • New stuff!

    • Now parses list of targets and shows them when selecting a target to build.
    • Tweak the default target with a single button in the status bar.
    • Command to invoke the install target*
    • Dedicated configuration setting for CMAKE_INSTALL_PREFIX*
    • Certain configuration options can now be parameterized on the selected build type.*

* Thanks to rtbo!

Version 0.3.2

  • Option cmake.ctest.parallelJobs.

Version 0.3.1

  • Option to configure number of parallel jobs to run when building.
  • Fix issue with the clean target when using the Ninja generator.

Version 0.3.0

  • Build output is now parsed for diagnostics, so errors can be jumped to quickly and easily. Thanks to twxs!

Version 0.2.5

Version 0.2.4

  • Set a target to be built by default when invoking the build command. This option only persists for a single session, so must be set each time Visual Studio Code is opened.
  • MSBuild building now outputs full paths, enabling jumping to error locations.

Version 0.2.3

  • New option: cmake.clearOutputBeforeBuild enables clearing the contents of the CMake/Build output channel before configuring/building the project each time.
  • New option: cmake.saveBeforeBuild enables the extension to automatically save any unsaved documents when the build command is invoked.
  • Makefile and MSBuild generators now build in parallel with the number of cores on the system plus two.

Version 0.2.2

  • Properly detect when a reconfigure is required based on changes to workspace settings.
  • Improve automatic extension loading.
  • Tweak appearance of the status bar item.

Version 0.2.1

  • Fix failure to run on Windows due to line-endings issues

Version 0.2.0

  • Added a status bar with some useful controls:
    • Change build type/configuration
    • Start and stop the build with a single click
  • Better support for multi-configuration generators
  • Fix some issues when building on Windows

Version 0.1.2

  • Fix bug when building before configuring.

Version 0.1.1

  • Fix issue where we fail to detect the presence of Ninja when the command is ninja-build.
  • Fix failure to build when configured with a Visual Studio generator.

Version 0.1.0

  • First useful release