Skip to content

1.8.2

Compare
Choose a tag to compare
@sean-mcmanus sean-mcmanus released this 01 Feb 00:49
· 943 commits to release since this release
3b4c8e7

Instructions

Install it via using the Extensions view in VS Code or download a vsix that matches your OS from the "Download" dropdown in the "Version History" tab section on the Marketplace website and then use the Extensions: 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.63.0 or later.

Changes

New Features

  • Add data breakpoints (memory read/write interrupts) for gdb debugging. #1410
  • Add "All Exceptions" Breakpoint for cppdbg #1800
  • Add multi-threaded code analysis (using clang-tidy) based on the IntelliSense configuration. It defaults to using up to half the cores, but it can be changed via the C_Cpp.codeAnalysis.maxConcurrentThreads setting. #2908.
  • Add support for Alpine Linux #4827
  • Implement platform-specific VSIX's via the marketplace. #8152

Enhancements

  • The maximum number of threads to use for Find All References can be configured with the C_Cpp.references.maxConcurrentThreads settings. #4036.
  • The IntelliSense processes launched to confirm references during Find All References can be cached via the C_Cpp.references.maxCachedProcesses setting. #4038
  • The maximum number of IntelliSense processes can be configured with the C_Cpp.intelliSense.maxCachedProcesses setting, and the number of processes will automatically decrease when the free memory becomes < 256 MB and it can be configured to use less memory via the maxMemory settings (memory usage from code analysis is not handled yet). #4811
  • Switch from 32-bit to 64-bit binaries on 64-bit Windows. #7230
  • Add a compiler arg to the generated gcc build task to display colored text. PR #8165
  • Add static and other modifiers to IntelliSense hover results. #8173
  • Add a configuration warning when the default compiler modifies an explicitly set intelliSenseMode.

Bug Fixes

  • Fix several IntelliSense bugs. #5704, #6759, #8412, #8434
  • Fix newlines not being handled in comments with a Doxygen tag. #5741
  • Fix Doxygen comments with \0 being truncated. #6084
  • Fix files.exclude not working for directories external to the active workspace folder. #6877
  • Fix [MSYS2 GDB 10.2] gdb: ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Error creating process #7706
  • Fix a bug with vcFormat inserting additional spaces between } and else. #7731
  • Fix GCC system include processing on Windows. #8112, #8496
  • Remove redundant cl.exe from the build and debug active file configuration list. #8168
  • Fix string elements to render as code in the IntelliSense configuration UI. PR #8271
  • Fix IntelliSense process crash on AMD Ryzen 3000 series processors without updated drivers. #8312
  • Fix bug with wmic not being recognized during Windows attach debugging. #8328
  • Fix Go to Type Definition on pointer types. #8337
  • Fix a "Cannot read property" error during deactivation if the language service wasn't fully activated. #8354
  • Fix an issue in which the language id for header files were not updated to match the source file of its TU. #8381
  • Fix parsing of bit_cast with gcc mode IntelliSense. #8434
  • Fix the tag parser getting stuck on certain code. #8459
  • Fix an invalid success message when a build task fails. #8467
  • Fix compiler querying with certain Cygwin/MSYS2 compilers on Windows. #8496
  • Fix a bug with conditional breakpoints. #8515
  • Fix non-ASCII output with cppbuild tasks. #8518
  • Fix 3 settings not getting environment variables resolved after a settings change. #8531
  • Don't block running a task if it doesn't use the active file. #8586
  • Fix a command not found error message after clicking the database status icon when commands aren't available. #8599
  • Fix /RTC compiler checks failures don't break into debugger #8646
  • Fix workspace rescanning (tag parsing) not automatically happening after c/cpp associations are added to files.associations. #8687
  • Fix debugging when Windows binaries are linked with /PDBPageSize > 4k. #8690
  • Switch usage of -dD to -dM when compiler querying. #8692
  • Fix breakpoints with msys2 gcc. #8696
  • Fix no document symbols appearing in certain cases. #8726
  • Fix an issue in which multiple (potentially different) diagnostics were delivered for headers shared by multiple TUs.
  • Fix some translations.

Other

Known Issues

  • Go to definition on macros in gcc mode may go to the wrong location. #8577
  • Some clang-tidy errors may be incorrectly excluded. #8724
  • Code analysis may not have the correct system defines. #8740

Note

  • This release has the same language service components as 1.8.1 (insiders4), released 4 days earlier, but there's an updated debugger and an updated changelog.
  • This release is also identical to 1.8.3, released at the same time, but with the vsix built for insiders.