Skip to content

Releases: microsoft/vscode-cpptools

0.26.1

28 Oct 20:56
d1c9d4d
Compare
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
Compare
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
Compare
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

0.26.0-insiders2

03 Oct 20:31
Compare
Choose a tag to compare
0.26.0-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.

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 a tree view UI for the other C++ references results. #4079

Enhancements

  • 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 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

Known Issues

  • Rename (and Find All References) gives incorrect results for comment references with UTF-8 characters > 1 byte. #4383 4372
  • An IntelliSense crash that should be fixed in the final release. #4302

0.25.1

30 Aug 00:27
d68f76b
Compare
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 Switch Header/Source for .H and .C targets. #3048
  • Fix C_Cpp.updateChannel not respecting extensions.autoUpdate. #3632
  • Fix duplicate content appearing after formatting of a new file (2nd fix). #4091
  • Fix links in Log Diagnostics output. #4122
  • Fix NullReferenceException when debugging if "description" is missing. #4125
  • Fix files.exclude processing when using \\. #4127
  • Fix bug when attaching to an elevated process on Linux. #4133
  • Fix IntelliSense-based Go to Definition failing for a nested class in a template class. #4135
  • Fix incorrect configuration squiggles with compilerPath when variables are used. #4141
  • Fix executeReferenceProvider when code is selected. #4147
  • Fix code action for resolving missing includes via the vcpkg dependency manager. PR #4156

Known Issues

  • None so far.

0.25.0

22 Aug 00:54
490fc75
Compare
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 Find All References (Experimental Version). #15
  • Add -x86 options for intelliSenseMode. #2275, #2312
  • Add c++20 option to cppStandard. #3448
  • Add a code action for resolving missing includes via the vcpkg dependency manager. PR #3791

Enhancements

  • Added support for compile commands:
    • -iquote. #2088
    • -imacros. #2417
    • -idirafter(--include-directory-after & --include-directory-after=). #3713
    • -imsvc. #4032
  • Switch to using VS Code's Go to Declaration. #2959
  • Added compilerArgs property setting. PR #3950
  • Added support for V3 API. #3987
  • Add not supported messages for ARM and Alpine containers. PR #4027
  • Add validation for paths from env variables. #3912

Bug Fixes

  • Fix wrong type of this pointer. #2303
  • Fix previous cache path not deleted when new cache path is specified. Note that the VS Code bug Microsoft/vscode#59391 still occurs on the settings UI, but this fix should delete any incomplete path names as the extension receives changes from the cache path setting. #3644.
  • Fix broken shell script when launch/attaching as root. #3711
  • Fix ".H" files not appearing in include completion results on Linux/macOS. #3744
  • Fix compile_commands.json file changes not updated. #3864.
  • Fix Failed to parse error message in the open file scenario. #3888
  • Fix loading the wrong symbols when creating or copying a file. #3897
  • Fix IntelliSense process crash in clang mode. #3898
  • Fix IntelliSense-based Go to Definition failing with using namespace. #3902, #4018
  • Fix completion not showing results for smart pointers. #3926, #3930
  • Fix clang_format_path cannot be set in workspace settings. #3937
  • Fix typos and grammar in documentation.
  • Fix NullReferenceException when unable to launch and an unresolved parameter exists in the string. This was causing a useless error message. #4024, #4090
  • Fix debugger can't debug file whose folder path includes a parenthesis. #4030
  • Fix duplicate content appearing after formatting of a new file. #4091
  • Fix files.exclude bug on Windows. #4095
  • Fix NullReferenceException when cwd is null. MIEngine#911
  • Fix wrong IntelliSense for C++ types after editing within a function and after a lambda.

Known Issues

  • NullReferenceException when debugging if "description" is missing. #4125
  • Find All References issues.
  • C++20 support is incomplete (approximately equal to the support in VS 2019 16.3). More support will be gradually added in future releases, e.g. #4088

0.25.0-insiders2

16 Aug 00:32
Compare
Choose a tag to compare
0.25.0-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.

Enhancements

  • Enable Find All References without checking C_Cpp.experimentalFeatures.
  • Fix Find All References progress bar not increasing as often as it should.
  • Add not supported messages for ARM and Alpine containers. PR #4027
  • Add support for -imsvc compile commands flag. #4032

Bug Fixes

  • Fix IntelliSense process crash in clang mode. #3898
  • Fix completion not showing results for smart pointers. #3930
  • Fix Cannot confirm reference sometimes being shown instead of Inactive reference. #4041
  • Fix bug when compile_commands.json changes. #4058
  • Fix wrong IntelliSense for C++ types after editing within a function and after a lambda.

Known Issues

  • It fails to run on Mac 10.12. #4096
  • In remote scenarios like Remote-SSH, the extension may not install successfully when using the "Insiders" updateChannel. #3874
  • Find All References issues.
  • The following doesn't work: "Add support for resolving missing includes via the vcpkg dependency manager." PR #3791

0.25.0-insiders

10 Aug 01:36
6bc6d49
Compare
Choose a tag to compare
0.25.0-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

New Features

  • Add Find All References when C_Cpp.experimentalFeatures is set to "Enabled". #15
  • Add -x86 options for intelliSenseMode. #2312
  • Add c++20 option to cppStandard. #3448
  • Add support for resolving missing includes via the vcpkg dependency manager. PR #3791

Enhancements

  • Added support for compile commands:
    • -iquote. #2088
    • -imacros. #2417
    • -idirafter(--include-directory-after & --include-directory-after=). #3713
  • Switch to using VS Code's Go to Declaration. #2959
  • Added compilerArgs property setting. PR #3950
  • Added support for V3 API. #3987

Bug Fixes

  • Fix previous cache path not deleted when new cache path is specified. Note that the VS Code bug Microsoft/vscode#59391 still occurs on the settings UI, but this fix should delete any incomplete path names as the extension receives changes from the cache path setting. #3644.
  • Fix compile_commands.json file changes not updated. #3864.
  • Fix Failed to parse error message in the open file scenario. #3888
  • Fix IntelliSense-based Go to Definition failing with using namespace. #3902
  • Fix typos and grammar in documentation.

Known Issues

  • In certain remote scenarios like Remote-SSH, the extension may not install successfully when using the "Insiders" updateChannel. #3874
  • More C++20 support and IntelliSense bug fixes will be added in the next Insiders release. #3930
  • "Inactive references" are sometimes incorrectly reported as "Cannot confirm reference": #4041
  • "Click to preview" is disabled for "Peek References": #4040
  • Other Find All References issues.

0.24.1

22 Jul 19:41
fa4d7b2
Compare
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 an issue with the Outline not being populated when a file is opened. #3877
  • Update scopes used by semantic colorization. PR# 3896

Known Issues

  • None so far.

0.24.0

04 Jul 01:07
3ed0871
Compare
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

Version 0.24.0: July 3, 2019

New Features

Enhancements

  • Configuration UI editor improvements:
    • Add list of detected compiler paths. PR #3708
    • Enable selecting/editing of other configurations and add "Advanced Settings" section. PR #3732
  • Enable envFile for cppdbg. PR #3723
  • Change the default path value of C_Cpp.intelliSenseCachePath. #3347 #3664
  • Change C_Cpp.clang_format_path to machine scope. #3774
  • Add validation to the advanced configuration UI settings. PR #3838
  • Add Current Configuration to C/C++: Log Diagnostics. PR #3866

Bug Fixes

  • Fix for gdb follow-fork-mode child not working. #2738
  • Fix IntelliSense process crash on hover with certain arrays. #3081
  • Fix IntelliSense-based Go to Definition for goto labels. #3111
  • Fix IntelliSense behaving incorrectly when files are opened with different casing on Windows. #3229
  • Fix user defined literals crashing IntelliSense in clang/gcc mode. #3481
  • Improve sourceFileMap to be more dynamic. #3504
  • Fix IntelliSense-based hover document comments being shown for invalid declarations not used by the current translation unit. #3596
  • Fix Go to Definition when is void missing in the parameter list of a function definition a .c file. #3609
  • Fix configuration validation of compiler path and IntelliSense mode compatibility for clang-cl.exe compiler. #3637
  • Fix resolving ${workspaceFolderBasename} and add ${workspaceStorage}. #3642
  • Fix IntelliSense-based Go to Definition performance issue due to extra database iteration. #3655
  • Fix SourceRequest causing debugging to stop with NotImplementedException. #3662
  • Fix typo in intelliSenseMode description.
  • Fix invalid warning with typedef enums in .c files. #3685
  • Fix incorrect keyword completion occurring for pragma #keyword. #3690
  • Fix problem matcher to show fatal errors from GCC #3712
  • Fix multi-root folders with the same name sharing the same browse database. PR #3715
  • Fix remoteProcessPicker on Windows. #3758
  • Fix crash when tag parsing Objective-C code. #3776
  • Fix duplicate slashes getting added to c_cpp_properties.json. PR #3778
  • Fix envFile variable substitution. #3836
  • Fix missing headers popup. PR #3840
  • Fix multiple anonymous unions not showing correctly in Locals while debugging. MIEngine#820
  • Fix pause not working when using DebugServer/MIDebuggerServerAddress on Linux and macOS. MIEngine#844
  • Improvements to CPU and memory usage when editing.

Known Issues

  • Outline shows No symbols found after a file is opened (until it's edited). #3877