Skip to content

Releases: microsoft/vscode-cpptools

0.19.1-insiders

09 Oct 20:32
3508a10
Compare
Choose a tag to compare
0.19.1-insiders Pre-release
Pre-release
  • Fix IntelliSense-based Go to Definition on overloads. #1071
  • Fix IntelliSense failing if recursive includes removes all paths. #2442
  • Fix incorrect IntelliSense errors with MinGW (stop using -fms-extensions by default). #2443, #2623
  • Fix error squiggles sometimes not updating after typing. #2448
  • Fix IntelliSense-based Go to Definition on the identifier of a definition with no declaration. #2573
  • Fix IntelliSense-based Go to Definition not falling back to the declaration (in certain cases). #2574
  • Fix IntelliSense-based Go to Definition going to the wrong location after edits are made. #2579
  • Fix Go to Definition when the intelliSenseEngineFallback is Disabled and #includes are missing. #2583
  • Fix empty C_Cpp.default.* settings not being used. #2584
  • Fix quoting around ssh's command (for the debugger). #2585
  • Fix crash on hover (and Go to Definition) when using the Tag Parser. #2586
  • Fix errors when a workspace folder isn't open. #2613

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.19.0

28 Sep 00:36
963ee02
Compare
Choose a tag to compare
  • Change the symbol database to update without needing to save. #202
  • Enable IntelliSense-based Go to Definition for the current translation unit, including local variables and overloaded operators. #255, #979
  • Improved the Go to Definition performance with large workspaces and files with lots of #includes. #273
  • Disable Go to Definition for invalid tokens, e.g. comments, strings, keywords, etc. #559
  • Add C_Cpp.updateChannel setting 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 sh failure when attaching to a remote Linux process. #2444
  • Fix incorrect default cl.exe macro. PR #2468
  • Fix multiple bugs with the symbols in the Outline view not updating correctly. #2477, #2500, #2504
  • Add support for workspaceFolderBasename expansion. #2491
  • 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

17 Aug 18:43
757f1f9
Compare
Choose a tag to compare
  • Fix 0.18.0 regression causing non-MinGW compilers to use -fms-extensions on Windows. #2424, #2425

Instructions

Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.

0.18.0

17 Aug 13:35
d8738c3
Compare
Choose a tag to compare

New Features

  • Add the C_Cpp.intelliSenseEngine setting value of Disabled (for users who only use the debugger). #785
  • Add C_Cpp.workspaceSymbols setting with default Just My Code to filter out system header symbols. #1119, #2320
  • Add C_Cpp.inactiveRegionForegroundColor and C_Cpp.inactiveRegionBackgroundColor settings. #1620, #2212
  • Add gcc-x64 intelliSenseMode and send the correct clang or gcc version to our parser, fixing various IntelliSense errors. #2112, #2175, #2260, #2299, #2317
  • Make Go to Definition on the definition go to the declaration instead. #2298
  • Add multi-pass environment variable resolution allowing variables defined in terms of other variables. #2057
  • Allow users to use ~ for ${userProfile} on Windows. PR 2333
  • Add support for compiler flags -fms-extensions and -fno-ms-extensions on 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 bash by using sh instead. #569
  • Fix IntelliSense crash after hover or completion with _Complex types. #689, #1112
  • Fix files.exclude not working to exclude non-workspace folders from symbol parsing. #1066
  • Fix Switch Header/Source to 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 compilerPath not working with ${workspaceFolder}. #1982
  • Fix red flame getting stuck after modifying c_cpp_properties.json. #2077
  • Don't add empty windowsSDKVersion if 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 includePath code actions if compile commands or custom configuration providers are used. #2334
  • Fix Cpp.clang_format_path not 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 the Configuration Help button 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

06 Aug 07:12
d1924d6
Compare
Choose a tag to compare
0.17.8-insiders Pre-release
Pre-release
  • Fix attach to process for systems without bash by using sh instead. #569
  • Fix IntelliSense crash after hover or completion with _Complex types. #689, #1112
  • Add C_Cpp.workspaceSymbols setting with default Just My Code to filter out system header symbols. #1119, #2320
  • Add C_Cpp.inactiveRegionForegroundColor and C_Cpp.inactiveRegionBackgroundColor settings. #1620, #2212
  • Fix Mac framework dependencies not being discovered. #1913
  • Fix red flame getting stuck after modifying c_cpp_properties.json. #2077
  • Add gcc-x64 intelliSenseMode and send the correct clang or gcc version to our parser, fixing various IntelliSense errors. #2175, #2299, #2317
  • Make Go to Definition on the definition go to the declaration instead. #2298
  • Don't add empty windowsSDKVersion if none exists. #2300
  • Add multi-pass environment variable resolution allowing variables defined in terms of other variables. #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

19 Jul 21:46
2b24520
Compare
Choose a tag to compare
  • Fix Go to Definition for 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 windowsSdkVersion to c_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 after c_cpp_properties.json is 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 #include code actions when no folder is open. #2225
  • Fix intelliSenseMode with 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 Definition not working for macros followed by . or ->. #2245
  • Fix #include autocomplete with Mac framework headers. #2251
  • Fix for debugging to support empty arguments for debuggee. #2258
  • Fix Go to Definition bug (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 main snippet.

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

13 Jul 00:23
6dc1494
Compare
Choose a tag to compare
0.17.7-insiders Pre-release
Pre-release
  • Fix Go to Definition for 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 windowsSdkVersion to c_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 after c_cpp_properties.json is 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 #include code actions when no folder is open. #2225
  • Fix intelliSenseMode with custom config providers on Windows. #2228
  • Fix variables not resolving in macFrameworkPath. #2234
  • Fix Go to Definition not 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

02 Jul 21:38
863d264
Compare
Choose a tag to compare
  • 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 includePath or browse.path is "**". #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 Definition results with var:: and var->, 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 - in ps call 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

22 Jun 03:30
9604256
Compare
Choose a tag to compare
  • Detect compile_commands.json and 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 #include completion with headers in the same directory. #2031
  • Fix non-header files outside the workspace folder not being parsed (i.e. so Go to Definition works). #2053
  • Fix some crashes. #2080
  • Support asm clobber registers on Windows. #2090
  • Fix usage of ${config:section.setting}. #2165
  • browse.path now inherits includePath if not set in c_cpp_properties.json.
  • On Windows, compilerPath now populates with the guessed cl.exe path, and the MSVC include path is based on the cl.exe path.
  • Fix files under a non-recursive browse.path being removed from the database.
  • Fix * not working in browse.path with WSL.
  • Fix for -break-insert main returning multiple bind points. #729
  • Use -- instead of -x for gnome-terminal. #733
  • Added miDebuggerArgs in order to pass arguments to the program in miDebuggerPath. #720

Instructions

Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code.

0.17.5-insiders

08 Jun 01:08
4b90e4c
Compare
Choose a tag to compare
0.17.5-insiders Pre-release
Pre-release
  • 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.