Skip to content

Releases: microsoft/vscode-cmake-tools

1.20.52

18 Feb 20:52
fad04c8
Compare
Choose a tag to compare

1.20

Features:

  • Add support for Presets v9, which enables more macro expansion for the include field. #3946
  • Add support to configure default folder in workspace setting. #1078
  • Add support to configure default folder in workspace setting. #1078 @sanore
  • Add support for processing LCOV based coverage info files when tests are
    executed. This adds test execution type, "Run with coverage", on the ctest
    section of the Testing tab.
    #4040
  • Add basic CMake language services: quick hover and completions for CMake built-ins. PR #4204
  • Add an option to scan kits from a folder. #4191 @std-microblock

Improvements:

  • Add ability to pass custom target to "CMake: Build Target" command as argument. #3598 @hippo91
  • Fix "Unable to resolve configuration with compilerPath" issue for Swift. #4097
  • Ensure that any uses of proc.spawn work, especially for .bat and .cmd files, due to VS Code updating to Node 20. #4037
  • Fix "Test output isn't visible when failed" and also mark skipped tests as so. #4116 @redstrate
  • Ensure that stopping tests actually forces the tests to stop running. #2095
  • Retire the Show Options Moved Notification #4039
  • Improve the pinned commands experience by defaulting settings and using VS Code state rather than modifying user settings. #3977
  • Skip project building in the CTest test explorer when cmake.buildBeforeRun is set to false. #4241 @Dabsunter
  • Improve consistency in key bindings. #4124 @alex20230721

Bug Fixes:

  • Fix issue where files don't show up in the outline if any in the group are generated. #4099
  • Fix issue where setting test suite delimiter prevent execution of all tests. #4092 @hippo91
  • Fix our setting of isUserPreset for presets, only set it to true if it's defined in a user presets file. #4059
  • Fix issue where duplicate presets are being listed in dropdown. #4104
  • Ensure that we're sanitizing paths for cmake.copyCompileCommands. #3874
  • Ensure that tests are updated after a build. #4148
  • Fix various GCC compiler errors and GCC linker errors not showing up in Problems View #2864 @0xemgy
  • Fix reloading presets when included files are changed or renamed and updated. #3963
  • Fix the usage of toolset and archiecture in presets without generator set. #4181
  • Fix compilation database path comparison with the cmake.copyCompileCommands that could otherwise overwrite that file. #4207 @k0zmo
  • Fix parsing of CMakeUserPresets.json containing configure preset that is referenced in workflow preset. #4202 @nikobockerman
  • Fix auto select active project corner case. #4146 Contributed by STMicroelectronics
  • Fix issue where starting a CMake Configure with CMake Debugger while there was already a configure process running left a debug session going without a way to stop it. #4230

1.19.52

30 Sep 10:52
21fa776
Compare
Choose a tag to compare

1.19.52

Improvements:

  • Update signing to support VSCode extension signing. #4055

1.19.51

05 Sep 21:40
406216a
Compare
Choose a tag to compare

1.19.51

1.19.50

03 Sep 22:29
f35be38
Compare
Choose a tag to compare

1.19.50

Bug Fixes:

  • Fix env expansion of all variables (toolchainFile, etc.) in presets. #4019
  • Fix issues with inheritance and presets. #4023

1.19.49

29 Aug 19:55
f1a3770
Compare
Choose a tag to compare

1.19.49

Features:

  • Add setting cmake.useVsDeveloperEnvironment to allow for more user control on when the Visual Studio Developer Enviornment is attempted to be added to the CMake Presets environment. #3892

Improvements:

  • Add Unspecified option for selecting a kit variant to allow CMake itself to select the build type. #3821
  • Skip loading variants when using CMakePresets. #3300
  • Resolve diagnostics files relative to workspace and build directory, fixes #1401 @fargies
  • Add setting to only show the cmake log on target failure. #3785 @stepeos
  • Preset expansion occurs on CMakePresets.json or CMakeUserPresets.json save, and if there are no errors the expanded presets are cached. The VS Developer Environment will only be applied to a preset if it is selected. Expansion errors will show in the problems panel and preset files with errors will be invalid, and any presets they contain cannot be used. #3905
  • Remove pop-ups asking to configure, default cmake.configureOnOpen to true. #3967

Bug Fixes:

  • Attempt to fix stringifying the extension context. #3797
  • Fix issue where cmake.preferredGenerators wasn't falling back to the next entry when the first entry didn't exist. #2709
  • Potential fix for attempting to load a non-variants file as a variants file and throwing a parse exception. #3727
  • Fix issue where cmakeUserPresets.json not showing up in project outline. #3832
  • Fix edge case where parsing tests fails when additional output is printed before tests json. #3750
  • Fix issue where Configure with CMake Debugger fails on restart because the previously used pipe to CMake Debugger is no longer available. #3582
  • Fix custom kit PATH being overriden. #3849
  • Fix debug variables being overriden. #3806
  • Fix issue in Quick Start where a C file was generated in place of a C++ file. #3856
  • Fix custom build tasks not showing up. #3622
  • Fix the bug where if a relative path specified for installDir, it is not calculated relative to the source directory, which is how it should be according to the CMake installDir docs here. #3871
  • Fix issue with CMakeLists.txt depth search. #3901
  • Fix localized file path for schema files. #3872
  • Disable annoy and invalid extenion message about fix windows sdk for MSVC 2022. #3837
  • Fix re-using a terminal for launching even when the environment has changed. #3478
  • Fix our keybindings for debug and run without debugging to better match VS Code. #3507
  • Allow success recovery in the configure precondition handler. #3554
  • Prevent second configure after QuickStart if the automaticReconfigure setting is enabled. #3910
  • Set usepresets context after manually creating a CMakePresets.json/CMakeUserPresets.json or using QuickStart to create it. #3854
  • Only do special handling of ~ for code model reply path on linux. #3957
  • Fix issues with expanding unnecessary environment variables and incorrectly saving preset environments to cache. Also fixes expansion error reporting issue with not checking for an invalid Configure preset in other types of presets. #3961 & #1841

1.18.43

10 Jul 19:27
573f7cc
Compare
Choose a tag to compare

1.18.43

Features:

  • Upgrade cmake_minimum_required version 3.0.0 -> 3.5.0. #3793

Improvements:

  • Add setting for deleting entire build dir when clean configuring. #3515

Bug Fixes:

  • Fix issue "Logs are unavailable when running tests from the Test Explorer" and display properly the test output. #3140
  • Fix issue with "Test Results Not Found" when cmake.ctest.allowParallelJobs is disabled. #3798
  • Update localized strings for Project Status UI and quick pick dropdowns. #3803, #3802
  • Fix issue where new presets couldn't inherit from presets in CmakeUserPresets.json. These presets are now added to CmakeUserPresets.json instead of CmakePresets.json. #3725
  • Fix issue where CMakeTools does not recheck CMake Path to see if user installed CMake after launching VS Code. 3811
  • Fix issue where cmake.buildToolArgs was sometimes applied incorrectly when presets are used #3754
  • Fix issue where preferredGenerator.platform and preferredGenerator.toolset wasn't being compared between the old and new kit to trigger a clean configure on a kit selection change. #2699
  • Still allow for users to add --warn-unused-cli. Now instead of overriding, it will remove our default --no-warn-unused-cli. #1090
  • Ensure useCMakePresets context is set after making a CMakePreset.json with Quick Start. #3734

1.18.42

10 Jun 17:57
Compare
Choose a tag to compare

1.18.42

Bug Fixes:

  • Fix schema validation for $schema. #3809
  • Fix tests having too long of a command-line. #3814

1.18.41

30 May 17:28
4d6d05d
Compare
Choose a tag to compare

1.18

Features:

  • Add the possibility to open the current build directory in the Explorer #1451
  • Add support for CMakePresets V7 and V8. #3549
  • Update api.ts to add the onSelectedConfigurationChanged event. #3671 @OrkunTokdemir
  • Improve CMake QuickStart by allowing the user to dynamically create a CMakePresets.json file. #3649

Improvements:

  • Allow ctests to run in parallel when launched through the Test Explorer. #3122
  • Properly set up environment for MSYS toolchains. #2447 @Steelskin
  • Allow for users to add --warn-unused-cli. This will override our default --no-warn-unused-cli. #1090
  • Add option to disable kit scan by default when a kit isn't selected. #1461
  • Show cmake output when version probe fails. #3650
  • Improve various settings scopes #3601
  • Refactor the Project Outline view to show a flat list of targets #491, #3684
  • Add the ability to pin CMake Commands to the sidebar #2984 & #3296
  • Add support for variable expansion in debugConfig.environment #3711
  • Add the ability to debug install targets #532
  • Add a "Don't Show Again" option in the select CMakeLists.txt.
  • Log error statement if the environmentSetupScript fails. #3566
  • [Experiment] Improve CMake Tools experience when opening a folder #3588

Bug Fixes:

  • Fix localization issue in package.json. #3616
  • Remove incorrect validation which was breaking references from CMakeUserPresets to CMakePresets. #3636
  • Fix 'Debug Test' from 'Test explorer' results in 'launch: property 'program' is missing or empty'. #3280
  • Fix "Go to source" in Testing activity + test panel without function. #3362
  • Remove an un-implemented "internal" command. #3596
  • Fix incorrect test output. #3591
  • Fix issue where our searching for cl and ninja was repeatedly unnecessarily, impacting performance. #3633
  • Fix preset environment issue. #3657
  • Fix invocation of vcvarsall.bat script argument for targetArch. #3672
  • Ensure that we support ${workspaceFolder} when initializing cmake information. #3658
  • Fix issue where correcting cmake.cmakePath is still broken. #3570
  • Fix CMakePresets.json schema validation. #3651
  • Update what we use to create the workspace browse configuration to pass to cpp tools by filtering out extra file groups that are generated. #3729
  • Fix issue where cmake.cacheInit isn't supporting absolute path in environment variables. #2777

1.17.17

28 Feb 15:12
02c548e
Compare
Choose a tag to compare

1.17.17

Bug Fixes:

  • Fix the regression for inheritance of cache variables and other inheritable fields. #3603

1.17.16

20 Feb 19:58
810cd00
Compare
Choose a tag to compare

1.17.16

Bug Fixes:

  • Fix an issue where we weren't able to run tests when not using Presets. #3589
  • Fix the order of preference for CMake Presets inherit field. #3594