1.1.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.
Requirements
- VS Code 1.49.0 or later.
Changes
New Features
- Add language server support for Windows ARM64 (no debugging yet). #5583
- [cppdbg] Debugger Protocol Updates:
- ReadMemoryRequest PR MIEngine#1028
- ModulesRequest and ModuleEvent PR MIEngine#1054
- [cppdbg] Support new SourceFileMap schema PR #6319
Enhancements
- Add support to run c/cpp build tasks. #3674, #5270, #5285
- Tasks: Configure Task
- Tasks: Run Build Task
- C/C++: Build and debug active file.
- Add logging around compiler probing, and the "C/C++ Configuration Warnings" output channel. #5259
- Add compile commands info to Log Diagnostics. #5761
- Add
intelliSenseUpdateDelay
setting. #6142 - Enable support for specifying a compiler by only the filename if it's in the environment path. #6179
- Restart the IntelliSense process if its memory usage exceeds the
C_Cpp.intelliSenseMemoryLimit
setting. #6230 - [cppdbg] Stepping out of a function will display '$ReturnValue'.
- [cppdbg] Support composite expressions in natvis ArrayItems
- Add handling of the "-ansi" compiler arg when querying gcc/clang compilers.
- Add support for inferring the IntelliSenseMode based on the "--target" compiler arg.
- Add support for inferring the C standard based on new c11/c17 language standard args for cl.exe.
- Allow custom config providers to omit IntelliSenseMode and C/C++ language standard, enabling them to be inferred from the
compilerPath
andcompilerArgs
.
Bug Fixes
- Change macOS Framework searching to only parse the "Current" framework folder when the "Headers" folder is not found. #2046
- Show the compiler path in the
Build and Debug Active File
dropdown. #4278 - Fix incorrect signature help active argument with multiple template parameters. #4786
- Fix bug with directories not getting created for browse.databaseFilename. #5181
- Allow the debug configuration to wait for the preLaunchTask to complete before continuing on and resolving environment variables or processes that may have been set in the 'tasks.json'. #5287
- Change the Windows SDK detection to require the shared, ucrt, and um folders. #5817
- Fix issues with IntelliSense for clang-cl.exe. #6075
- Fix "Comments are not permitted in JSON" error when
c_cpp_properties.json
is open but not active. #6132 - Rename the C language standard setting values from c18 and gnu18 to c17 and gnu17. #6105
- Add more IntelliSense support for std ranges, concepts, and modules exports (__cpp_lib_concepts is now enabled). #6173
- Add "-fnoblocks" when querying clang on Mac, as IntelliSense does not currently support blocks. #6189
- Fix clang-format on 32-bit Windows. #6195
- Fix incorrect formatting results when clang-format removes duplicate includes. #6205
- Fix a case where the main process could get stuck. #6207
- Fix C files being treated as C++ files with compile_commands.json. #6279
- Fix
Build and Debug Active File
race condition with EngineLogs. #6304 - Fix changes to some
c_cpp_properties.json
properties not taking effect (until a reload) ifcompileCommands
is set. #6332 - Fix issue with compiler querying not handling various clang command line options correctly. 6359
- Fix multiroot workspace tag parsing when
compileCommands
is set. #6383 - Fix mingw32 compilers not being detected. #6394
- Various bug fixes for vcFormat. PR #6408
- Fix issue causing zh-cn and zh-tw language files not to be used. PR #6418
- Fix the handling of various compiler arg pairs when querying compilers.
- Avoid parsing entries in compile_commands.json for file types that we do not support.
- Fixed an issue in which only C or C++ system headers were added to the browse path, rather than both.
- Fix issue causing some localized messages to be displayed incorrectly.
- Fixed issue with shipping an older version of vsdbg in offline packages.
Other Contributions
- Refactoring provider classes.
- Abhishek Pal (@devabhishekpal) PR #5998
Known Issues
- "F5" runs the wrong "preLaunchTask", if preLaunchTask is a default custom task name. Microsoft/vscode#109939
- Debugging on Windows ARM64 isn't supported. #6392
- "cppbuild" is not registered in tasks.json after installation until a reload window occurs. #6450