Releases: microsoft/vscode-cpptools
0.27.0-insiders2
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario with a version older than 0.26.3-insiders2), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Bug Fixes
- Fix the
Open File...
scenario (without a workspace folder). #5049 - Fix
browsePath
null reference that can occur with some configuration providers. PR #5055
Known Issues (that we plan to fix in next release)
- Extension sometimes crashes after adding multiple folders at the same time. #5059
- Extension sometimes crashes after changing color themes with a multiroot workspace. #5063
- We're investigating several other known crashes...
- Pause (break all) doesn't work when debugging on Mac. Workaround: use
kill -2 <pid>
to trigger the break. - The extension can randomly get stuck while doing IntelliSense operations on Mac (not a regression compared to 0.26.3). #4989
0.27.0-insiders
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario with a version older than 0.26.3-insiders2), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Enhancements
- Improved multi-root implementation with a single language server process and database for the entire workspace (shared between workspace folders). Fixes most multi-root bugs.
- Update to clang-format 9.0.1 (and without shared library dependencies). #2887, #3174
- Rename language server processes to
cpptools
andcpptools-srv
(IntelliSense process). #4364 - Add support for
-iframework
incompile_commands.json
. #4819 - Add
cpptools.setActiveConfigName
command. #4870 - Default to the bundled
clang-format
if its version is newer. #4963 - Include only
lldb-mi
for macOS.
Bug Fixes
- Fix issue in which the user is not again prompted to use a custom configuration provider if settings files have been deleted. #2346
- Fix "Unrecognized format of field "msg" in result" on macOS. #2492
- Fix IntelliSense using too much CPU when switching branches. #2806
- Fix for timeout on slow terminals while debugging. #2889
- Fix non-localized text. #4481, #4879
- Fix issues with paths containing certain Unicode sequences on Mac. #4712
- Fix IntelliSense parsing bugs and crashes. #4717, #4798
- Fix configuration UI disabling
compilerPath
if no default compiler is found. #4727 - Fix issue with providing custom configurations for files specified using URIs schemes we do not recognize. #4889
- Fix failure to detect CL.exe if VS Installer files are stored on a drive other than the system drive. #4929
- Fix issue with cancellation of a
Rename
operation causing subsequentFind All References
andRename
operations to fail. #5022
Known Issues (that we plan to fix in next release)
- The
Open File...
scenario is broken (without a workspace folder). #5049 - Pause (break all) doesn't work when debugging on Mac. Workaround: use
kill -2 <pid>
to trigger the break. - The extension can randomly get stuck while doing IntelliSense operations on Mac (not a regression compared to 0.26.3). #4989
0.26.3
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Bug Fixes
- IntelliSense bug fixes. #2774
- Improve memory usage in projects with a large number of files. #4714
- Fix a crash when failing to launch external executables on Linux and Mac. #3607
- Update output of
C/C++: Log Diagnostics
to include the correct set of defines when custom configurations or compile commands are used. #3631 #4270 - Fix Insiders channel not working on remote targets. #3874
- Fix
compile_commands.json
prompt appearing when a configuration provider is used. #3972 - Improve IntelliSense performance with range-v3. #4414
- Fix template members not being nested under the template type in the Outline view. #4466
- Fix an issue in which failure to invoke a compiler could result in a hang on Linux and Mac. #4627
- Fix custom configurations sometimes not being applied to headers. #4649
- Fix headers opening into header-only TU's instead of TU's for candidate source files. #4696, #3985
- Fix the missing description of
C_Cpp.clang_format_style
. - Fix Insiders channel not auto-downgrading after an Insiders vsix is unpublished. #4760
- Fix compiler querying with more than 40
compilerArgs
. #4791 - Fix an issue in which files may be unnecessarily removed from the tag parser database on startup, if using a custom configuration provider, resulting in a large number of files being reparsed. #4802
- Fix an issue in which
Build and Debug Active File
would fail to detect a compiler, without a compiler present incompilerPath
. #4834 - Add a version check for
-break-insert
so later versions oflldb-mi
can be used as amidebugger
. MIEngine#946 - Fix clang-cl detection for system includes and defines. #4000
- Fix a bug that could cause the browse database threads to get stuck.
Enhancements
- If clang-format is found in the environment path, that version will take precedence over the copy of clang-format bundled with the extension. #3569
- When tag parsing is complete, and includer/includee relationships become available, header-only TU's will be replaced with TU's for candidate source files, if available. #4969
Known Issues
- None so far.
0.26.3-insiders4
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario prior to 0.26.3-insiders2), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Bug Fixes
- Update dependent modules to address a security warning due to use of a deprecated API. #4381
- Fix an issue in which files may be unnecessarily removed from the tag parser database on startup, if using a custom configuration provider, resulting in a large number of files being reparsed. #4802
- Fix an issue in which
Build and Debug Active File
would fail to detect a compiler, without a compiler present incompilerPath
. #4834 - Fix a crash when failing to launch external executables on Linux and Mac.
- Add a version check for
-break-insert
so later versions oflldb-mi
can be used as amidebugger
. MIEngine#946
Enhancements
- If clang-format is found in the environment path, that version will take precedence over the copy of clang-format bundled with the extension. #3569
Known Issues
- None so far.
0.26.3-insiders3
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario prior to 0.26.3-insiders2), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Bug Fixes
- Improve memory usage in projects with a large number of files. #3326
- Fix
compile_commands.json
prompt appearing when a configuration provider is used. #3972 - Improve IntelliSense performance with range-v3. #4414
- Fix regression crashes. #3607, #4770
- Fix compiler querying with more than 40
compilerArgs
. #4791 - Fix files being removed from the database on startup with a configuration provider. #4802
- Fix a bug that could cause the browse database threads to get stuck.
Known Issues
- None so far.
0.26.3-insiders2
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Version 0.26.3-insiders2: December 18, 2019
Bug Fixes
- Fix IntelliSense regression crashes. #4754
- Fix Insiders channel not auto-downgrading after an Insiders vsix is unpublished. #4760
- Fix Insiders channel not working on remote targets. #3874
Version 0.26.3-insiders: December 16, 2019
Bug Fixes
- Fix clang-cl detection for system includes and defines.
- IntelliSense bug fixes. #2774
- Update output of
C/C++: Log Diagnostics
to include the correct set of defines when custom configurations or compile commands are used. #3631 #4270 - Fix an issue in which failure to invoke a compiler could result in a hang on Linux and Mac. #4627
- Fix template members not being nested under the template type in the Outline view. #4466
- Fix custom configurations sometimes not being applied to headers. #4649
- Fix headers opening into header-only TU's instead of TU's for candidate source files. #4696
- Fix the missing description of
C_Cpp.clang_format_style
.
Enhancements
- When tag parsing is complete, and includer/includee relationships become available, header-only TU's will be replaced with TU's for candidate source files, if available.
Known Issues
- None so far.
0.26.2
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Enhancements
- Reworked how a source file is selected for TU creation when opening a header file. #2856
- Updated the default value of the
C_Cpp.intelliSenseCachePath
setting to a path underXDG_CACHE_HOME
on Linux, or~/Library/Cache
on MacOS. #3979 - Reset memory usage of the IntelliSense process if it grows beyond a threshold. #4119
- Add validation that the new symbol name provided to 'Rename Symbol' is a valid identifier. Add the setting
C_Cpp.renameRequiresIdentifier
to allow that verification to be disabled. #4409 - Enable setting of breakpoints in CUDA sources. PR #4585
- Paul Taylor (@trxcllnt)
- Deferred TU creation until the file is visible in the editor. This avoids the overhead of TU creation when the file is opened by VS Code internally for IntelliSense operations. #4458
Bug Fixes
- Fix child process creation when the Windows code page is set to a language with non-ASCII characters and there are non-ASCII characters in the extension's install path. #1560
- Fix path canonicalization of UNC paths to avoid duplicate files opening with different casing. #2528, #3980
- Fix an issue in which a header may be opened without IntelliSense due to creation of a TU from a source file that includes the header in an inactive region. #4320
- Fix a hang in the extension process that can occur when using a scope named 'interface'. #4470
- Fix an issue with the Rename UI that could cause the rename to not be applied. #4504
- Show an error message when a Rename fails due to the symbol not being found. #4510
- Fix an issue with
launch.json
creation due to localized strings containing quotes. #4526 - Fix an issue with configuration error squiggles not being applied unless the setting was set in both
c_cpp_properties.json
andsettings.json
. PR #4538 - Fix document symbol for outline view and breadcrumbs on Windows 7. #4536.
- Add support for
ms-vscode.cmake-tools
configurationProvider id. #4586. - Fix an issue in which cancellation of Find All References could result in an exception. #2710
- Fix sort order of files in Find All References and Rename UI. #4615
- Fix an issue in which localized Chinese strings would not be displayed on systems with case-sensitive file systems. #4619
- Fix an issue in which files with an extention of
.H
were not correctly associated with C++. #4632 - Fix an issue in which -m64 or -m32 were not being passed to gcc, causing the reported system includes and system defines to not match the requested
intelliSenseMode
. #4635
Known Issues
- One report of a memory issue regression in the main process -- let us know if anyone has more repro info. #3326
0.26.2-insiders3
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Bug Fixes
- Fix an issue in which a header may be opened in a TU as C instead of C++. #4632
- Fix an issue introduced in the prior insiders release in which compiler probing would fail if gcc/clang did not support x86 or x64 architectures. #4657
Known Issues
- None so far.
0.26.2-insiders2
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Enhancements
- Deferred TU creation until the file is visible in the editor. This avoids the overhead of TU creation when the file is opened by VS Code internally for IntelliSense operations. #4458
Bug Fixes
- Fix an issue in which cancellation of Find All References could result in an exception. #2710
- Fix sort order of files in Find All References and Rename UI. #4615
- Fix an issue in which localized Chinese strings would not be displayed on systems with case-sensitive file systems. #4619
- Fix an issue in 0.26.2-insiders in which memory cleanup in the native IntelliSense process might result in a crash. #4630
- Fix an issue in which files with an extention of
.H
were not correctly associated with C++. #4632 - Fix an issue in which -m64 or -m32 were not being passed to gcc, causing the reported system includes and system defines to not match the requested
intelliSenseMode
. #4635
Known Issues
- Compiler querying fails for ARM or other non-x86/x64 compilers that don't accept -m64 or -m32. #4653
0.26.2-insiders
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix. Or if that doesn't work (such as in the remote scenario), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code.
Requirements
- VS Code 1.30.0 or later.
Changes
Enhancements
- Reworked how a source file is selected for TU creation when opening a header file. #2856
- Updated the default value of the
C_Cpp.intelliSenseCachePath
setting to a path underXDG_CACHE_HOME
on Linux, or~/Library/Cache
on MacOS. #3979 - Reset memory usage of the IntelliSense process if it grows beyond a threshold. #4119
- Add validation that the new symbol name provided to 'Rename Symbol' is a valid identifier. Add the setting
C_Cpp.renameRequiresIdentifier
to allow that verification to be disabled. #4409 - Enable setting of breakpoints in CUDA sources. PR #4585
- Paul Taylor (@trxcllnt)
Bug Fixes
- Fix child process creation when the Windows code page is set to a language with non-ASCII characters and there are non-ASCII characters in the extension's install path. #1560
- Fix path canonicalization of UNC paths to avoid duplicate files opening with different casing. #2528, #3980
- Fix an issue in which a header may be opened without IntelliSense due to creation of a TU from a source file that includes the header in an inactive region. #4320
- Fix a hang in the extension process that can occur when using a scope named 'interface'. #4470
- Fix an issue with the Rename UI that could cause the rename to not be applied. #4504
- Show an error message when a Rename fails due to the symbol not being found. #4510
- Fix an issue with
launch.json
creation due to localized strings containing quotes. #4526 - Fix an issue with configuration error squiggles not being applied unless the setting was set in both
c_cpp_properties.json
andsettings.json
. PR #4538 - Fix document symbol for outline view and breadcrumbs on Windows 7. #4536.
- Add support for
ms-vscode.cmake-tools
configurationProvider id. #4586.
Known Issues
- None so far.