Skip to content

Releases: microsoft/vscode-cpptools

0.26.3-insiders4

17 Jan 02:29
223f630

Choose a tag to compare

0.26.3-insiders4 Pre-release
Pre-release

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 in compilerPath. #4834
  • Fix a crash when failing to launch external executables on Linux and Mac.
  • Add a version check for -break-insert so later versions of lldb-mi can be used as a midebugger. 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

09 Jan 02:52
adc9892

Choose a tag to compare

0.26.3-insiders3 Pre-release
Pre-release

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

19 Dec 02:44
c5e6699

Choose a tag to compare

0.26.3-insiders2 Pre-release
Pre-release

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

03 Dec 00:58
8a4bfa2

Choose a tag to compare

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 under XDG_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
  • 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 and settings.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

26 Nov 02:02
1523516

Choose a tag to compare

0.26.2-insiders3 Pre-release
Pre-release

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

22 Nov 01:45
922ac06

Choose a tag to compare

0.26.2-insiders2 Pre-release
Pre-release

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

12 Nov 21:38

Choose a tag to compare

0.26.2-insiders Pre-release
Pre-release

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 under XDG_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

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 and settings.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.

0.26.1

28 Oct 20:56
d1c9d4d

Choose a tag to compare

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

  • Fix launch.json creation when using non-English display languages. #4464
  • Fix CHS translation. #4422
  • Fix debugging hang when Windows 10 Beta Unicode (UTF-8) support is enabled. #1527

Known Issues

  • None so far.

0.26.0

16 Oct 02:42

Choose a tag to compare

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

New Features

  • Add localization support (translated text) via Configure Display Language. #7
  • Add Rename Symbol with a pending rename UI. #296, PR #4277
  • Add support for navigation breadcrumbs and nested symbols in the Outline view (and removed the Navigation status bar item). #2230
  • Add support for C++/CX (/ZW, /ZW:nostdlib, /FI, /FU, and /AI compiler arguments). #3039
  • Add a tree view UI for the other C++ references results. #4079

Enhancements

  • App support for .rsp files in compile_commands.json. #1718
  • Add support for SymbolLoadInfo to launch.json. #3324
  • Enable ${workspaceFolder} in compilerPath and compilerArgs. #3440
  • Add support for parsing more file types by default. #3567
  • Move status icons to the left to minimize shifting and change the red flame to use the foreground color. #4198

Bug Fixes

  • Fix querying of non-ENU compilers. #2874
  • Fix Find All References not confirming references of method overrides in an inheritance hierarchy. #4078
  • Fix missing references on the last line. #4150
  • Fix Go to Definition on implicit default constructors. #4162
  • Fix configuration prompts from appearing if a configuration provider is set. #4168
  • Fix vcpkg code action for missing includes with more than one forward slash. PR #4172
  • Fix parsing of __has_include (and other system macros) with gcc. #4193
  • Fix tag parse database not getting updated after changes occur to unopened files in the workspace. #4211
  • Fix files.exclude ending with / being treated like a per-file exclude (which aren't enabled by default). #4262
  • Fix Find All References incorrect results for string and comment references. #4279
  • Fix bug with forced includes in compile_commands.json. #4293
  • Fix Find All References giving Not a Reference for constructors of templated classes. #4345
  • Fix squiggles appearing after a multi-edit replace or rename. #4351
  • Fix gcc-x86 and clang-x86 modes. #4353
  • Fix crashes if the database can't be created. #4359
  • Fix bugs with comment references. #4371, #4372

Known Issues

  • With non-EN display languages: Unable to create 'launch.json' file inside the '.vscode' folder (Cannot read property 'name' of undefined). #4464

0.26.0-insiders3

09 Oct 03:35

Choose a tag to compare

0.26.0-insiders3 Pre-release
Pre-release

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.

Bug Fixes

  • Fix crash in document outline causing the extension to shut down. #4386
  • Fix document outline showing no results with nested namespaces. #4389
  • Fix missing references on the last line. #4150
  • Fix crashes if the database can't be created. #4359
  • Fix bugs with comment references. #4371, #4372
  • Improve reliability for Rename and Find All References. #4378

Known Issues

  • Find All References when a previous operation is "confirming references" can cause the 2nd operation to show "Cannot confirm references". #4407
  • Rename (and Find All References) gives incorrect results for comment references with UTF-8 characters > 1 byte if UTF-8 characters > 1 byte precede the comment reference. #4372