1.1.0-insiders
Pre-release
Pre-release
Instructions
Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true
too). Or if that doesn't work (e.g. for remote ARM machines), manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).
Requirements
- VS Code 1.49.0 or later.
Changes
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
- 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 - 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
- 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 issues with the handling of the standard version for clang-cl.exe.
- 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.
Other Contributions
- Refactoring provider classes.
- Abhishek Pal (@devabhishekpal) PR #5998