Skip to content

0.22.0

Compare
Choose a tag to compare
@sean-mcmanus sean-mcmanus released this 20 Mar 04:46
· 2573 commits to release since this release
717de54

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.

Major Changes

  • Add warning squiggles for invalid properties and paths in c_cpp_properties.json. #2799, PR #3283
  • Add C/C++ compiler build tasks for compiling the active source file, with support for F5 debugging and the Build and Debug Active File context menu command. PR #3118, PR #3244
  • Add AutoPCH support to reduce IntelliSense parsing time, with C_Cpp.intelliSenseCachePath and C_Cpp.intelliSenseCacheSize settings. It isn't enabled for Mac yet. PR #3184

Minor Changes

  • Fix IntelliSense not working on Windows when the username has a space in it and file C:\Users\<firstname> exists. #1377, #2114, #2176, #3052, #3139
  • Enable ${command:cpptools.activeConfigName} in tasks. #1524
  • Fix bugs with squiggles and IntelliSense updating after edits. #1779, #3124, #3260
  • Fix formatting (and other non-IntelliSense operations) being blocked by IntelliSense processing. #1928
  • Fix completion when the start of an identifier matches a keyword. #1986
  • Fix auto-removal of compiler-provided paths in includePath. #2177
  • Fix crash on Windows when 8.3 filenames are used. #2453, #3104
  • Add support for Scope::Member scoped symbol searches. #2484
  • Fix signature help active parameter selection when parameter names are missing or subsets of each other. #2952
  • Fix --enable-pretty-printing with gdb when complex objects are used as keys in maps. #3024
  • Fix IntelliSense-based Go to Definition for noexcept methods. #3060
  • Render macro hover expansions as C/C++. #3075
  • Enable completion after struct when manually invoked. #3080
  • Add C_Cpp.suggestSnippets setting to disable language server snippets. #3083
  • Show a prompt for changing C_Cpp.updateChannel to Insiders. #3089
  • Fix compilerPath not getting priority over the compile_commands.json compiler. #3102
  • Fix Linux compile_commands.json compiler querying with relative paths. #3112
  • Allow * in includePath to apply to browse.path when browse.path is not specified. #3121
  • Disable ( and < completion commit characters. #3127
  • Add Chinese translations for command titles. PR #3128
  • Fix remote process picker bug. #2585, #3150
  • Fix command not found and empty c_cpp_properties.json if activation is too slow. #3160, #3176
  • Fix cppvsdbg debugger showing "An unspecified error has occurred." for structured binding variables. #3197
  • Fix bugs with the Insider reload prompt appearing when it shouldn't. #3206
  • Fix variable expansion (e.g. ${env.HOME}) not working when ${default} is used in c_cpp_properties.json. #3309
  • Fix other unreported IntelliSense engine bugs.

Known Issues

  • Using the Build and Debug Active File command overwrites the previous tasks.json contents if it fails to parse. #3327
  • Using the Build and Debug Active File command causes an "undefined task type" warning to get logged. #3322