Releases: microsoft/vscode-cpptools
1.7.0-insiders
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.60.0 or later.
Changes
New Features
- Add a command to restart IntelliSense for a specific file. #3727
- Add support for macOS app bundles #6726
- Add support for Go To / Peek Type Definition. #7999
Enhancements
- In generated build tasks, add a compiler arg to cause color to be displayed in gcc/clang output in terminal. PR #8165
Bug Fixes
- Fix an issue with signature help for overloaded constructors. #1664
- Add markdown to settings descriptions. #4544
- Fix an IntelliSense process crash. #5584, #8110
- Fix an issue with incorrect E0513 and E0167 IntelliSense errors. #6338
- Fix issue with IntelliSense for anonymous members. #6412
- Fix an issue with incorrect "no suitable user-defined conversion" errors. #6721
- Fix some issues with punctuation in setting descriptions. #6870
- Add descriptions for setting enum values. #7358
- Add support for
${execPath}and${pathSeparator}inc_cpp_properties.json. #7753 - Move the scope of document symbols from the name (on the left) to the details (on the right). #7785
- Fix an issue with config validation of Force Include values. #7822
- Fix an issue related to arg parsing in build tasks. #7891
- Add a check when cppbuild task is used when the active file is not a source file. #7892
- Fix a cpptools crash. #8055
- Fix issue "LogPoint stopped working v1.6.0". #8065
- Fix issue "Debugger won't read/write from/to stdio". #8075
- Fix an issue with VC 14.0 headers not being found. #8078
- Fix an issue with CUDA support with
compile_commands.json. #8091 - Fix an issue with
/kernelarg tocl.exefor C files. #8158
Known Issues
- None so far.
1.6.0
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.58.0 or later.
Changes
New Feature
- Added support for standard
.editorconfigentries when using vcFormat. #7920 - Debug Step Granularity for cppdbg MIEngine#1169
- Thank you for the contribution @Trass3r
- InstructionBreakpoints for cppdbg MIEgnine#1192
Enhancements
- Debugger now runs on .NET 5 #7858
- When using the
Defaultsetting forC_Cpp.formatting, vcFormat will now be selected if a.editorconfigfile is found with vcFormat entries and no.clang-formatfile was found with nearer proximity to the source file. #7929
Bug Fixes
- Fix incorrect sizeof for packed structs (gcc/clang) #5267
- Fix designated initializers not working at file scope. #6316
- Fix an IntelliSense crash on template code. #7349
- Rank existence of a custom configuration higher than filename similarity and path proximity, when choosing a TU source for a header #7396
- Fix an IntelliSense crash when the display language is set to Italian. #7685
- Enable the C++ status bar items to be selectively disabled. #7700
- Fix an issue causing incorrect color selection for semantic tokens. #7773
- Fix some cl.exe and clang installations not being detected. #7767 #7795 #7800
- Fix an issue with recursive includes not found. #7783
- Fix an issue with code folding of single-line blocks. #7809
- Fix a typo in a localized string. #7823
- Add open file parsing status when hovering over the database icon. PR #7831
- Fix an issue with IntelliSense flame icon getting stuck on. #7838
- Fix an issue with character position after include completion. #7856
- Fix wrong version of clang-format being used in multi-root workspaces. #7870
- Fix issue with setting of MS extensions when
-fms-extensionsis used. #7886 - Fix an issue with support detection on Android. #7906
- Fix a bug with handling of
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "newLine". #7926 - Fix Disassembly view is blank on Linux #7960
- Fix an issue with cppdbg debugging on Windows x64. #7971
- Fix an issue with VS
<execution>header causing IntelliSense process crash. #7972 - Fix insiders update install loop for remote scenarios. #8000
- Fix MacOS unable to use external terminal to debug #8008
Known Issues
- None so far.
1.6.0-insiders3
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.58.0 or later.
Changes
Bug Fixes
- Fix insiders update install loop for remote scenarios. #8000
Known Issues
- None so far.
1.6.0-insiders2
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.58.0 or later.
Changes
Bug Fixes
- Fix issues with overlapping code folding ranges. #7809
- Fix an issue with cppdbg debugging on Windows x64. #7971
- Fix an issue with VS
<execution>header causing IntelliSense process crash. #7972
Known Issues
- An insiders update install loop with remote sessions #8000
1.6.0-insiders
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.58.0 or later.
Changes
New Feature
- Added support for standard
.editorconfigentries when using vcFormat. #7920 - Debug Step Granularity for cppdbg MIEngine#1169
- Thank you for the contribution @Trass3r
Enhancements
- Debugger now runs on .NET 5 #7858
- When using the
Defaultsetting forC_Cpp.formatting, vcFormat will now be selected if a.editorconfigfile is found with vcFormat entries and no.clang-formatfile was found with nearer proximity to the source file. #7929
Bug Fixes
- Fix incorrect sizeof for packed structs (gcc/clang) #5267
- Fix designated initializers not working at file scope. #6316
- Fix an IntelliSense crash on template code. #7349
- Rank existence of a custom configuration higher than filename similarity and path proximity, when choosing a TU source for a header #7396
- Fix an IntelliSense crash when the display language is set to Italian. #7685
- Enable the C++ status bar items to be selectively disabled. #7700
- Fix an issue causing incorrect color selection for semantic tokens. #7773
- Fix some cl.exe and clang installations not being detected. #7767 #7795 #7800
- Fix an issue with recursive includes not found. #7783
- Fix an issue with code folding of single-line blocks. #7809
- Fix a typo in a localized string. #7823
- Add open file parsing status when hovering over the database icon. PR #7831
- Fix an issue with IntelliSense flame icon getting stuck on. #7838
- Fix an issue with character position after include completion. #7856
- Fix wrong version of clang-format being used in multi-root workspaces. #7870
- Fix issue with setting of MS extensions when
-fms-extensionsis used. #7886 - Fix an issue with support detection on Android. #7906
- Fix a bug with handling of
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "newLine". #7926 - Fix Disassembly view is blank on linux #7960
Known Issues
1.5.1
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.53.0 or later.
Changes
- Fix issue "cppvsdbg Debugging becomes no-op between 1.4.1 and 1.5.0". #7808
Known Issues
- None so far.
1.5.0
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 (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.53.0 or later.
Changes
New Feature
Enhancements
- Add auto-detection of clang compilers on Windows. #6718
- Stop adding .cu files to
files.associations(switch to using setTextDocumentLanguage). #7359 - Add "Symbol Options" for CppVsdbg to configure symbol settings PR #7680
- Update CppVsdbg to use newer CppEE and msdia.
Bug Fixes
- Fix switch header/source not checking
files.exclude. #4429 - Fix code folding causing
} else iflines to be hidden. #5521 - Add abort handling to recursive includes directory iteration. #6461
- Fix include completion with recursive includes in header files. #6842
- Add the get-task-allow entitlement to macOS binaries to enable call stacks to be obtained when SIP is enabled. #7412
- Fix Find All References reporting certain references in headers as inactive. #7609
- Fix IntelliSense process crash and tag parser failure with columns > 65535. #7621
- Fix incorrect localization translations.
- Fix
autocompleteAddParenthesesfor some template argument deduction cases. #7626 - Fix some incorrect IntelliSense errors. #6639, #7630
- Change references of "OS X" to "macOS".
- Tyler Davis (@TylerADavis) PR #7636
- Prevent the root path from being added to the
browse.path. #7648 - Fix a configuration squiggle when
${workspaceFolder}is used withcompilerPath. #7649 - Fix an issue causing editorConfig not to be used or cached. PR #7666
- Fix document symbols nesting with templates. #7673
- Fix include paths not being found when the paths start with /D or /I. #7701, #7757
- Fix Find All References on a global variable giving incorrect references to local variables. #7702
- Fix
vcFormatnot working near the end of the file with UTF-8 characters > 1 byte. #7704 - Fix a configuration squiggle for a recursively resolved
forcedInclude. PR #7722 - Fix
Build and Debug Active Filefor certain file extensions (.cu, .cp, etc.). - Fix
browse.pathbeing incorrect if an invalidcompileCommandsis set. #7737 - Fix an incorrect error message when
C_Cpp.errorSquigglesis"Enabled". #7744 - Fix compiler querying sometimes not working with Cygwin. #7751
- Fix a duplicate IntelliSense update when a new C/C++ file is opened and after switching from a non-C/C++ file and back.
- Fix a potential IntelliSense process crash on shutdown.
Known Issues
- None so far.
1.5.0-insiders3 (release candidate)
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).
Requirements
- VS Code 1.53.0 or later.
Changes
Enhancement
- Add auto-detection of clang compilers on Windows (and different versions of cl.exe). #6718
- Stop adding .cu files to
files.associations(switch to using setTextDocumentLanguage). #7359
Bug Fixes
- Add abort handling to recursive includes directory iteration. #6461
- Fix include completion with recursive includes in header files. #6842
- Add the get-task-allow entitlement to macOS binaries to enable call stacks to be obtained when SIP is enabled. #7412
- Fix
browse.pathbeing incorrect if an invalidcompileCommandsis set. #7737 - Fix incorrect error message when
C_Cpp.errorSquigglesis"Enabled". #7744 - Fix compiler querying sometimes not working with Cygwin. #7751
Known Issues
- Compilers under
C:\Program Files\LLVM\binaren't auto-detected on Windows. #7767
1.5.0-insiders2
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).
Requirements
- VS Code 1.53.0 or later.
Changes
New Feature
- Add "Inline macro" code action. #4183
Bug Fixes
- Fix code folding causing
} else iflines to be hidden. #5521 - Fix Find All References on a global variable giving incorrect references to local variables. #7702
- Fix
vcFormatnot working near the end of the file with UTF-8 characters > 1 byte. #7704 - Fix configuration squiggle on a recursively resolved
forcedInclude. PR #7722 - Fix
Build and Debug Active Filefor certain file extensions (.cu, .cp, etc.). - Fix an infinite loop when importing a module with a template.
Known Issues
- None so far.
1.5.0-insiders
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).
Requirements
- VS Code 1.53.0 or later.
Changes
Enhancements
- Add "Symbol Options" for CppVsdbg to configure symbol settings PR #7680
- Update CppVsdbg to use newer CppEE and msdia.
Bug Fixes
- Fix switch header/source not checking
files.exclude. #4429 - Fix Find All References reporting certain references in headers as inactive. #7609
- Fix IntelliSense process crash and tag parser failure with columns > 65535. #7621
- Fix incorrect localization translations.
- Fix
autocompleteAddParenthesesfor some template argument deduction cases. #7626 - Fix some incorrect IntelliSense errors. #6639, #7630
- Change references of "OS X" to "macOS".
- Tyler Davis (@TylerADavis) PR #7636
- Prevent the root path from being added to the
browse.path. #7648 - Fix configuration squiggle when
${workspaceFolder}is used withcompilerPath. #7649 - Fix an issue causing editorConfig not to be used or cached. PR #7666
- Fix document symbols nesting with templates. #7673
- Fix a duplicate IntelliSense update when a new C/C++ file is opened and after switching from a non-C/C++ file and back.
- Fix a potential IntelliSense process crash on shutdown.
Known Issues
- None so far.