Releases: microsoft/vscode-cmake-tools
CMake Tools 1.4.0-beta
This is a beta release for CMake Tools #1.4.0, containing several bug fixes and improvements (see full list below).
To install it, you can download the attached vsix and pass it to the VSCode command "Extensions: Run from VSIX...".
Thank you for trying out this pre-release and giving us feedback.
Improvements:
- Documentation updates. PR #1130 @zalava
- Add support for per-folder browse path. #1073
- Use a shell script to set environment variables for a kit. #809 @pisker
- Improvements of the status bar UI. PR #1200 @SchweizS
- Add context menu for CMakeLists. #741 @SchweizS
- Support partial CMake Tools activation for non cmake repos. #1167
- Support ARM IntelliSense modes. #1155
- Support GNU language standards. #1208
- Add indication of active workspace to project outline. #1183 @SchweizS
Bug Fixes:
- Skip over debugger guessing logic if cmake.debugConfig explicitly sets miDebuggerPath. #1060
- Normalize all paths sent to CppTools. #1099
- Add support for Objective-C and Objective-C++. #1108 @marksisson
- Update the configuration provider id. #1045 @ChristianS99
- Clear the terminal for Compile Active File. #1122
- Update vswhere to a version that supports utf-8. #1104
- Support source files outside the base path. #1140
- Allow quotes in cache entries. #1124 @tmaslach
- Fix default preferred generators detection logic. #1084
- Fix host and target platform information for VS kits. #964
- Fix error caused by duplicate project structure. #587 @SchweizS
- Disable launchTarget key binding while debugging. #1170
- Skip configuring when cache is present and according setting is on. #984
- Remove deprecated cmake.useCMakeServer setting. #1059
- Trigger automatic CMake configure on CMakeLists.txt save. #1187 @Yuri6037
- Silently scanning for kits:
- Various unhandled exceptions and crash fixes:
1.3.1
This minor update addresses a few regressions from 1.3.0.
Improvements:
Bug Fixes:
1.3.0
Improvements:
- Multi-root support. You can now open multiple folders in VS Code and CMake Tools will allow you to configure each of the projects in those folders.
- Add support for
${command:cmake.buildKit}
. #334 @xgdgsc - Add LLVM_ROOT and Visual Studio Clang locations to the search path for Kits. #914 @Zingam
- Support additional
intelliSenseModes
in the configuration provider. #960 - Detect bundled CMake in Visual Studio. #610 @Zingam
- Add "Scan for kits" option in kits QuickPick. #864 @Zingam
- Implement the CMake File API. PR #720 @KoeMai
Bug Fixes:
- Support temp folders not located on system drive. PR #974 @Carsten87
- Add MinGW path to the environment. PR #983
- Don't do a clean build for utility targets. #643 @rcxdude
- Visual Studio builds should support
cmake.parallelJobs
setting. PR #975 @tonka3000 - Fix build cancellation. #946 #781 #522 @KoeMai
- Normalize both absolute and relative paths. PR #963 @GeorchW
- Filter out duplicate targets from the target selector. #863
- Fix a crash when
chcp
is not found on the machine. #977 - Don't fail if CMakeLists.txt was appended to sourceDirectory. #1014
- Mark all tests as 'not run' in case of build failure when running CTest. PR #980 @Morozov-5F
- Add command to hide launch/debug commands and debug button. PR #1035
- Add support for
${workspaceFolderBasename}
. #869 - Fix exception thrown by debug/launch commands. #1036
1.3.0 Beta2 (CMake File API support, various improvements and bug fixes)
Improvements:
- Detect bundled CMake in Visual Studio. #610 @Zingam
- Add "Scan for kits" option in kits QuickPick. #864 @Zingam
- Implement the CMake File API. PR #720 @KoeMai
Bug Fixes:
- Don't fail if CMakeLists.txt was appended to sourceDirectory. #1014
- Mark all tests as 'not run' in case of build failure when running CTest. PR #980 @Morozov-5F
To install CMake Tools Beta2:
- Download the cmake-tools.vsix file attached here
- Run the "Extensions: Install from VSIX..." command in VS Code and select the .vsix file you downloaded
1.3.0-beta (multi-root workspace support)
This pre-release version of the extension provides first class support for multi-root workspaces. We'd like to get your feedback on it.
There are new commands that let you operate on multiple folders at once and a new status bar item that tells you which folder is currently active (for the single-root commands) when you are navigating through your files. By default, the extension will auto select the active folder based on the file you are editing. If you dislike this behavior, you can disable it with the cmake.autoSelectActiveFolder
setting. When this setting is disabled, you can click on the new status bar item or use the CMake: Select Active Folder
command to select the active folder.
To install it:
- Download the
cmake-tools.vsix
file attached here - Run the
"Extensions: Install from VSIX..."
command in VS Code and select the .vsix file you downloaded
1.3.0-beta
Improvements:
- Multi-root support. You can now open multiple folders in VS Code and CMake Tools will allow you to configure each of the projects in those folders.
- Add support for
${command:cmake.buildKit}
. #334 @xgdgsc - Add LLVM_ROOT and Visual Studio Clang locations to the search path for Kits. #914 @Zingam
- Support additional
intelliSenseModes
in the configuration provider. #960
Bug Fixes:
- Support temp folders not located on system drive. PR #974 @Carsten87
- Add MinGW path to the environment. PR #983
- Don't do a clean build for utility targets. #643 @rcxdude
- Visual Studio builds should support
cmake.parallelJobs
setting. PR #975 @tonka3000 - Fix build cancellation. #946 #781 #522 @KoeMai
- Normalize both absolute and relative paths. PR #963 @GeorchW
- Filter out duplicate targets from the target selector. #863
- Fix a crash when
chcp
is not found on the machine. #977
1.2.3
1.2.2
Bug Fixes:
- Fix broken SchemaProvider. #874
- Fix the RegExp for finding a debugger. #884
- Update flow for missing CMakeLists.txt. #533
- getVSInstallForKit should be a no-op on systems other than windows. #886
- Include missing source directories in the custom browse path. #882
- Handle exceptions thrown by spawn. #895
- Various generator fixes: #900, #880, #885
1.2.1
1.2.0
1.2.0
Thank you to the following CMake Tools contributors: @KoeMai, @bjosa, @emanspeaks, @Som1Lse,
@dcourtois, @tsing80, @andy-held, @notskm, @TheZogoth, @yokuyuki, @dbird137, @FabianoGK, @randshot.
@vector-of-bool has moved on to other things and Microsoft is now maintaining this extension. Thank you @vector-of-bool for all of your hard work getting this extension to where it is today!
Breaking changes:
- The publisher id changes to ms-vscode.cmake-tools.
- This requires that you uninstall earlier versions of the extension.
- Scanning for kits is able to detect more accurately multiple Visual Studio installations.
The CMake Tools Extension is still able to work with the old definition VS kits, but for simplicity and to avoid duplicates, the extension will prompt for permission to delete them when the "Scan for kits" command is invoked.
Features:
- Support for localized messages.
- Cross compile support for CppTools integration.
- Adapt CppTools integration to API version 3. #637
- Expand kit environment variables. #460
- Add new commands: launchTargetDirectory, buildType, buildDirectory. #334, #654, #564, #559, #695
- Add support for VS2010.
Improvements:
- Restructuring of the CMake Driver.
- Improve stability of CMake Generator Selection. #512
- Refactor and extend CMS-server driver test.
- Rework the CMake Build from a terminal to a task.
- Add Launch target test.
- Increase wait time in test to open terminal.
Bug fixes:
1.1.3
For those having issues with 1.2.x, this is the old 1.1.3 VSIX. Please also open an issue so that we can address the problem.
You will also want to use the "extensions.autoUpdate": false
setting to temporarily disable automatic updates while we fix your issue.