Releases: microsoft/vscode-cpptools
0.19.0
- Change the symbol database to update without needing to save. #202
- Enable IntelliSense-based
Go to Definitionfor the current translation unit, including local variables and overloaded operators. #255, #979 - Improved the
Go to Definitionperformance with large workspaces and files with lots of#includes. #273 - Disable
Go to Definitionfor invalid tokens, e.g. comments, strings, keywords, etc. #559 - Add
C_Cpp.updateChannelsetting for easier access to Insider builds of the extension. #1526 - Add support for v2 of the configuration provider API. #2237
- Fix bug with parsing definitions in
compile_commands.json. #2305 - Fix
shfailure when attaching to a remote Linux process. #2444 - Fix incorrect default
cl.exemacro. PR #2468 - Fix multiple bugs with the symbols in the Outline view not updating correctly. #2477, #2500, #2504
- Add support for
workspaceFolderBasenameexpansion. #2491- Gabriel Arjones (@g-arjones) PR #2495, PR #2503
- Fix bug with variable resolution. #2532
- Fix off-by-one bug with hover and
Go to Definition. #2535 - Fix for Microsoft/vscode#54213
Instructions
To use the "offline" .vsix (that doesn't download dependencies on extension activation), download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.18.1
0.18.0
New Features
- Add the
C_Cpp.intelliSenseEnginesetting value ofDisabled(for users who only use the debugger). #785 - Add
C_Cpp.workspaceSymbolssetting with defaultJust My Codeto filter out system header symbols. #1119, #2320 - Add
C_Cpp.inactiveRegionForegroundColorandC_Cpp.inactiveRegionBackgroundColorsettings. #1620, #2212- John Patterson (@john-patterson) PR 2308
- Add
gcc-x64intelliSenseModeand send the correct clang or gcc version to our parser, fixing various IntelliSense errors. #2112, #2175, #2260, #2299, #2317 - Make
Go to Definitionon the definition go to the declaration instead. #2298 - Add multi-pass environment variable resolution allowing variables defined in terms of other variables. #2057
- John Patterson (@john-patterson) PR 2322
- Allow users to use
~for${userProfile}on Windows. PR 2333 - Add support for compiler flags
-fms-extensionsand-fno-ms-extensionson Windows (the default for MinGW-based compilers). #2363 - Make completion "show more results" (i.e. inaccessible members) when invoked a 2nd time. #2386
Bug Fixes
- Fix attach to process for systems without
bashby usingshinstead. #569 - Fix IntelliSense crash after hover or completion with
_Complextypes. #689, #1112 - Fix
files.excludenot working to exclude non-workspace folders from symbol parsing. #1066 - Fix
Switch Header/Sourceto give results that match the parent folder name before using just the file name. #1085 - Fix incorrect IntelliSense errors caused by namespace lookup failure when instantiation template arguments in clang mode. #1395, #1559, #1753, #2272
- Fix missing parameter help when using { for constructors. #1667
- Fix Mac framework dependencies not being discovered. #1913
- Fix
compilerPathnot working with${workspaceFolder}. #1982 - Fix red flame getting stuck after modifying
c_cpp_properties.json. #2077 - Don't add empty
windowsSDKVersionif none exists. #2300 - Fix IntelliSense crash when the gcc-8 type_traits header is used. #2323, #2328
- Limit configuration popups to one at a time. #2324
- Don't show
includePathcode actions if compile commands or custom configuration providers are used. #2334 - Fix
Cpp.clang_format_pathnot accepting environment variables. #2344 - Fix IntelliSense not working with non-ASCII characters in the WSL install path. #2351
- Filter out buggy IntelliSense error
"= delete" can only appear on the first declaration of a function. #2352 - Fix IntelliSense failing with WSL if gcc is installed bug g++ isn't. #2360
- Fix WSL paths starting with
/mnt/failing to get symbols parsed. #2361 - Fix IntelliSense process crash when hovering over a designated initializer list with an anonymous struct. #2370
- Stop showing "File: " in completion details for internal compiler defines. #2387
- Invoke
Edit Configurations...when theConfiguration Helpbutton is clicked. #2408 - Fix provider configuration prompt not showing for newly added workspace folders. #2415
- Fix to allow SIGINT to be sent using the kill -2 command when using pipeTransport.
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.8-insiders
- Fix attach to process for systems without
bashby usingshinstead. #569 - Fix IntelliSense crash after hover or completion with
_Complextypes. #689, #1112 - Add
C_Cpp.workspaceSymbolssetting with defaultJust My Codeto filter out system header symbols. #1119, #2320 - Add
C_Cpp.inactiveRegionForegroundColorandC_Cpp.inactiveRegionBackgroundColorsettings. #1620, #2212- John Patterson (@john-patterson) PR 2308
- Fix Mac framework dependencies not being discovered. #1913
- Fix red flame getting stuck after modifying
c_cpp_properties.json. #2077 - Add
gcc-x64intelliSenseModeand send the correct clang or gcc version to our parser, fixing various IntelliSense errors. #2175, #2299, #2317 - Make
Go to Definitionon the definition go to the declaration instead. #2298 - Don't add empty
windowsSDKVersionif none exists. #2300 - Add multi-pass environment variable resolution allowing variables defined in terms of other variables. #2322
- John Patterson (@john-patterson) PR 2322
- Fix IntelliSense crash when the gcc-8 type_traits header is used. #2323, #2328
- Limit configuration popups to one at a time. #2324
- Allow users to use
~for${userProfile}on Windows. PR 2333 - Filter out buggy IntelliSense error
"= delete" can only appear on the first declaration of a function. #2352
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.7
- Fix
Go to Definitionfor code scoped with an aliased namespace. #387 - Fix incorrect IntelliSense errors with template template-arguments. #1014
- Fix crash when using designated initializer lists. #1440
- Add
windowsSdkVersiontoc_cpp_properties.json. #1585 - Add
${vcpkgRoot}variable. #1817 - Fix dangling IntelliSense processes. #2075, #2169
- Fix incorrect IntelliSense errors when class template argument deduction is used. #2101
- Skip automatic parsing of source files in Mac system framework paths. #2156
- Fix
Edit Configurations...not working afterc_cpp_properties.jsonis deleted. #2214 - Fix indexing of the entire root drive on Windows when no is folder open. #2216
- Disable the config provider message for headers outside the workspace and when debugging. #2221
- Add
Change Configuration Provider...command. #2224 - Fix out-of-memory crash with
#includecode actions when no folder is open. #2225 - Fix
intelliSenseModewith custom config providers on Windows. #2228 - Fix formatting not working on Windows if the VC++ 2015 redist isn't installed. #2232
- Fix variables not resolving in
macFrameworkPath. #2234 - Fix
Go to Definitionnot working for macros followed by.or->. #2245 - Fix
#includeautocomplete with Mac framework headers. #2251 - Fix for debugging to support empty arguments for debuggee. #2258
- Fix
Go to Definitionbug (missing symbols outside the workspace). #2281 - Add a setting to silence configuration provider warnings. #2292
- Fix for debugging async Visual C++ causing debugger to hang.
- Fix
mainsnippet.
Known Issues
- Due to bug #2169 from the previous release, you may still experience failures until all the dangling, old processes are killed (or restarting your machine), because the processes maintain a lock on the same database file. See #2296 for one case of this.
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.7-insiders
- Fix
Go to Definitionfor code scoped with an aliased namespace. #387 - Fix incorrect IntelliSense errors with template template-arguments. #1014
- Fix crash when using designated initializer lists. #1440
- Add
windowsSdkVersiontoc_cpp_properties.json. #1585 - Add
${vcpkgRoot}variable. #1817 - Fix dangling IntelliSense processes and stuck red flame. #2075, #2077, #2169
- Fix incorrect IntelliSense errors when class template argument deduction is used. #2101
- Skip automatic parsing of source files in Mac system framework paths. #2156
- Fix
Edit Configurations...not working afterc_cpp_properties.jsonis deleted. #2214 - Fix indexing of the entire root drive on Windows when no is folder open. #2216
- Disable the config provider message for headers outside the workspace and when debugging. #2221
- Add
Change Configuration Provider...command. #2224 - Fix out-of-memory crash with
#includecode actions when no folder is open. #2225 - Fix
intelliSenseModewith custom config providers on Windows. #2228 - Fix variables not resolving in
macFrameworkPath. #2234 - Fix
Go to Definitionnot working for macros followed by.or->. #2245
Known Issues
This release had some regressions (unreported) that were fixed in the final 0.17.7 release.
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.6
- Fix the database icon getting stuck with recursive includes. #2104
- Fix the red flame appearing late with recursive includes. #2105
- Fix source files being parsed in system directories. #2156
NOTE: This wasn't fixed for system frameworks on Mac. - Fix internal document corruption (visible after formatting) when edits are made too soon after activation. #2162
- Fix a crash when saving with recursive includes. #2173
- Fix a crash when the
includePathorbrowse.pathis"**". #2174 - Fix IntelliSense for WSL without g++ installed. #2178
- Fix random IntelliSense (completion) failures due to edits being delayed. #2184
- Fix database deletion failure with non-ASCII file paths on Windows. #2205
- Fix
Go to Definitionresults withvar::andvar->, and filter out invalid constructor results. #2207 - Fix a performance bug with recursive includes.
- Fixed a CPU usage problem on Mac related to system frameworks parsing.
- Keep the IntelliSense process around for 10 seconds after a file is closed in case it's needed again.
- Added an API so build system extensions can provide IntelliSense configurations for source files. More details at npmjs.com.
- Fix automatic argument quoting when debugging with gdb/lldb to include when the argument has a '(' or ')' in it. Also escape existing '"' symbols.
- Removed
-inpscall for ProcessPicker and RemoteProcessPicker. #2183
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.5
- Detect
compile_commands.jsonand show prompt to use it. #1297 - Change inactive regions from gray to translucent. #1907
- Improve performance of recursive includes paths. #2068
- Fix IntelliSense client failure due to
No args provider. #1908 - Fix
#includecompletion with headers in the same directory. #2031 - Fix non-header files outside the workspace folder not being parsed (i.e. so
Go to Definitionworks). #2053 - Fix some crashes. #2080
- Support asm clobber registers on Windows. #2090
- Fix usage of
${config:section.setting}. #2165 browse.pathnow inheritsincludePathif not set inc_cpp_properties.json.- On Windows,
compilerPathnow populates with the guessedcl.exepath, and theMSVCinclude path is based on thecl.exepath. - Fix files under a non-recursive
browse.pathbeing removed from the database. - Fix
*not working inbrowse.pathwith WSL. - Fix for -break-insert main returning multiple bind points. #729
- Use -- instead of -x for gnome-terminal. #733
- Added
miDebuggerArgsin order to pass arguments to the program inmiDebuggerPath. #720
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.5-insiders
- Change inactive regions from gray to translucent. #1907
- Improve performance of recursive includes paths. #2068
- Fix #include completion with headers in the same directory. #2031
- Support asm clobber registers on Windows. #2090
- Fix some crashes. #2080
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.
0.17.4
- Fix infinite loop (caused by deadlock) when using recursive includes. #2043
- Stop using recursive includes in the default configuration.
- Fix various other potential deadlocks and crashes.
- Fix Go to Definition on
#includenot filtering out results based on the path. #1253, #2033 - Fix database icon getting stuck. #1917
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.