Skip to content

Commit 86332db

Browse files
authored
Merge pull request #13482 from microsoft/main
Merger for 1.25.0 (pre-release)
2 parents ee2fb39 + 44d32aa commit 86332db

File tree

143 files changed

+730
-447
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+730
-447
lines changed

.github/actions/AddComment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ inputs:
3838
readonly:
3939
description: If true, changes are not applied.
4040
runs:
41-
using: 'node12'
41+
using: 'node20'
4242
main: 'index.js'

.github/actions/Locker/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ inputs:
2929
readonly:
3030
description: If true, changes are not applied.
3131
runs:
32-
using: 'node12'
32+
using: 'node20'
3333
main: 'index.js'

.github/actions/Reopener/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ inputs:
3333
readonly:
3434
description: If true, changes are not applied.
3535
runs:
36-
using: 'node12'
36+
using: 'node20'
3737
main: 'index.js'

.github/actions/StaleCloser/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ inputs:
4343
readonly:
4444
description: If true, changes are not applied.
4545
runs:
46-
using: 'node12'
46+
using: 'node20'
4747
main: 'index.js'

.github/workflows/job-compile-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24-
- name: Use Node.js 20
24+
- name: Use Node.js 22
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 20
27+
node-version: 22
2828

2929
- name: Install Dependencies
3030
run: yarn install ${{ inputs.yarn-args }}

Build/cg/cg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ extends:
8080
displayName: Use Yarn 1.x
8181

8282
- task: UseNode@1
83-
displayName: Use Node 18.x
83+
displayName: Use Node 22.x
8484
inputs:
85-
version: 18.x
85+
version: 22.x
8686

8787
- script: IF EXIST %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc del %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc
8888
displayName: Delete .npmrc if it exists

Build/loc/TranslationsImportExport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extends:
5050
steps:
5151
- task: NodeTool@0
5252
inputs:
53-
versionSpec: '18.x'
53+
versionSpec: '22.x'
5454
displayName: 'Install Node.js'
5555

5656
- task: CmdLine@2

Build/package/jobs_package_vsix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- checkout: self
2323

2424
- task: UseNode@1
25-
displayName: Use Node 18.x
25+
displayName: Use Node 22.x
2626
inputs:
27-
version: 18.x
27+
version: 22.x
2828

2929
- task: Npm@0
3030
displayName: Install vsce

Build/publish/jobs_publish_vsix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717

1818
steps:
1919
- task: NodeTool@0
20-
displayName: Use Node 18.x
20+
displayName: Use Node 22.x
2121
inputs:
22-
versionSpec: 18.x
22+
versionSpec: 22.x
2323

2424
- task: Npm@0
2525
displayName: Install vsce

Extension/CHANGELOG.md

Lines changed: 33 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,64 @@
11
# C/C++ for Visual Studio Code Changelog
22

3-
## Version 1.24.4: March 27, 2025
4-
### Enhancements
5-
* Add a new `recursiveIncludes` property to `c_cpp_properties.json`. [PR #13374](https://github.com/microsoft/vscode-cpptools/pull/13374)
6-
* Turn Copilot hover on by default. [PR #13385](https://github.com/microsoft/vscode-cpptools/pull/13385)
7-
* On shutdown, immediately terminate the IntelliSense process instead of waiting 2 seconds.
3+
## Version 1.25.0: April 10, 2025
4+
### Enhancement
5+
* Improve the description of the `C_Cpp.copilotHover` setting. [PR #13461](https://github.com/microsoft/vscode-cpptools/pull/13461)
86

97
### Bug Fixes
10-
* Fix one potential cause of the `get_mangled_function_name` IntelliSense process crash. [#13358](https://github.com/Microsoft/vscode-cpptools/issues/13358)
11-
* Fix Copilot-related logging appearing when it shouldn't. [PR #13388](https://github.com/microsoft/vscode-cpptools/pull/13388), [PR #13417](https://github.com/microsoft/vscode-cpptools/pull/13417)
12-
* Fix relative compiler paths being expanded in `compile_commands.json`. [#13405](https://github.com/microsoft/vscode-cpptools/issues/13405)
13-
* Fix all caps clang-format logging on Windows. [#13406](https://github.com/microsoft/vscode-cpptools/issues/13406)
14-
* Fix an IntelliSense process crash in `handle_function`.
15-
* Avoid reporting an error due to multiple `didOpen` requests after a crash.
8+
* Fix a crash during tag parsing (in `read_double`). [#13435](https://github.com/Microsoft/vscode-cpptools/issues/13435)
9+
* Fix the handling of default file associations for certain file extensions. [PR #13455](https://github.com/microsoft/vscode-cpptools/pull/13455)
10+
* Fix shell parsing of the arguments of a full command line in `compilerPath`. [PR #13468](https://github.com/microsoft/vscode-cpptools/pull/13468)
11+
* Fix C and CUDA files being interpreted as C++ in `compile_commands.json`. [#13471](https://github.com/microsoft/vscode-cpptools/issues/13471)
12+
* Stop automatically mapping a `.C` file to C++ if it's already set in `files.associations`. [PR #13476](https://github.com/microsoft/vscode-cpptools/pull/13476)
13+
* Fix IntelliSense not updating after the language ID is changed, and prevent the language ID from being changed if it's set from `compile_commands.json` or a configuration provider.
14+
* Fix a case where language server crash messages appear after 4 minutes.
15+
16+
## Version 1.24.5: April 3, 2025
17+
### New Feature
18+
* Add support for Copilot descriptions in hover tooltips, controlled by the `C_Cpp.copilotHover` setting. [PR #13385](https://github.com/microsoft/vscode-cpptools/pull/13385)
1619

17-
## Version 1.24.3: March 18, 2025
1820
### Enhancements
21+
* Improve/fix the switch header/source feature. [#2635](https://github.com/microsoft/vscode-cpptools/issues/2635)
1922
* Add detected test frameworks to the Copilot context when `#cpp` is used. [PR #13285](https://github.com/microsoft/vscode-cpptools/pull/13285)
20-
* Update clang-tidy and clang-format from 19.1.7 to 20.1.0. [PR #13348](https://github.com/microsoft/vscode-cpptools/pull/13348)
23+
* Update clang-tidy and clang-format from 19.1.7 to 20.1.2. [PR #13348](https://github.com/microsoft/vscode-cpptools/pull/13348)
2124
* Remove some unnecessary files from the vsix. [PR #13368](https://github.com/microsoft/vscode-cpptools/pull/13368)
2225
* Improve the logging when a non-existent path is used for indexing. [PR #13372](https://github.com/microsoft/vscode-cpptools/pull/13372)
26+
* Add a new `recursiveIncludes` property to `c_cpp_properties.json`. [PR #13374](https://github.com/microsoft/vscode-cpptools/pull/13374)
2327
* Remove the `C_Cpp.updateChannel` setting. [PR #13376](https://github.com/microsoft/vscode-cpptools/pull/13376)
24-
* Switch to only passing the root framework to clang-tidy.
25-
26-
### Bug Fixes
27-
* Fix a bug with symlink resolving with `compile_commands.json`. [#13321](https://github.com/microsoft/vscode-cpptools/issues/13321)
28-
* Fix a performance issue on macOS when processing `compile_commands.json` with a lot of include paths. [#13366](https://github.com/microsoft/vscode-cpptools/issues/13366)
29-
* Fix some localization bugs. [PR #13373](https://github.com/microsoft/vscode-cpptools/pull/13373)
30-
* Fix IntelliSense showing the wrong size of objects. [#13375](https://github.com/microsoft/vscode-cpptools/issues/13375)
31-
* Fix a `${workspaceFolder}/*` include path not being used as a non-recursive browse path.
32-
* Fix some potential IntelliSense process crashes when processing Copilot snippets.
33-
* Fix a regression with compiler query caching in the database.
34-
35-
## Version 1.24.2: March 6, 2025
36-
### Enhancements
37-
* Various improvements to Copilot snippets. [PR #13296](https://github.com/microsoft/vscode-cpptools/pull/13296)
3828
* Add handling of `-cxx-isystem`, `-stblib++-isystem`, `-isystem-after`, and `--include-barrier` Clang compiler arguments when composing the order of include paths used by IntelliSense.
39-
* Defer building of an include completion cache to another thread, improving performance when a file is opened.
29+
* Defer the building of the include completion cache to another thread to improve performance when a file is opened.
30+
* On shutdown, immediately terminate the IntelliSense process instead of waiting 2 seconds.
4031

4132
### Bug Fixes
33+
* Fix an IntelliSense crash in `build_sections`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666), [#12956](https://github.com/microsoft/vscode-cpptools/issues/12956)
34+
* Fix random IntelliSense process crashes on Linux/macOS when `C_Cpp.intelliSenseCacheSize` is > 0. [#12668](https://github.com/microsoft/vscode-cpptools/issues/12668)
35+
* Fix a bug in which hundreds of custom configuration requests could be sent on startup before the configuration provider has registered. [#13166](https://github.com/microsoft/vscode-cpptools/issues/13166)
36+
* Fix handling of the `-framework` compiler argument. [#13204](https://github.com/microsoft/vscode-cpptools/issues/13204)
37+
* Fix a potential race between didChange and didOpen. [PR #13209](https://github.com/microsoft/vscode-cpptools/pull/13209)
38+
* Fix an issue with the `.editorconfig` `tab_size`. [PR #13216](https://github.com/microsoft/vscode-cpptools/pull/13216)
39+
* Fix a potential deadlock on shutdown if configuration providers are used. [#13218](https://github.com/microsoft/vscode-cpptools/issues/13218)
4240
* Fix the code analysis mode in the Language Status bar not updating after the setting changes. [#13240](https://github.com/microsoft/vscode-cpptools/issues/13240)
41+
* Fix system include/framework paths being used as a fallback for user include/framework paths in the base configuration. [PR #13247](https://github.com/microsoft/vscode-cpptools/pull/13247)
4342
* Fix the `svdPath` description being missing for `launch.json`. [#13287](https://github.com/microsoft/vscode-cpptools/issues/13287)
4443
* Update the Windows SDK packages referenced in the walkthrough. [#13290](https://github.com/microsoft/vscode-cpptools/issues/13290)
4544
* Fix an issue with `C:` being treated as a relative path. [PR #13297](https://github.com/microsoft/vscode-cpptools/pull/13297)
4645
* Fix an unnecessary TU reset when a change is detected in a `compile_commands.json` file that is not used by the active configuration. [#13317](https://github.com/microsoft/vscode-cpptools/issues/13317)
4746
* Fix handling of URIs in web environments. [#13327](https://github.com/microsoft/vscode-cpptools/issues/13327)
4847
* Fix a potential deadlock after using 'Reset IntelliSense Database'. [#13337](https://github.com/microsoft/vscode-cpptools/issues/13337)
48+
* Fix some localization bugs. [PR #13373](https://github.com/microsoft/vscode-cpptools/pull/13373)
49+
* Fix IntelliSense showing the wrong size of objects. [#13375](https://github.com/microsoft/vscode-cpptools/issues/13375)
50+
* Fix the `get_mangled_function_name` IntelliSense process crash. [#13358](https://github.com/Microsoft/vscode-cpptools/issues/13358)
4951
* Fix an issue with duplicate forced includes being removed. Multiple forced includes of the same file should now properly be included multiple times.
5052
* Fix an issue in which the base configuration browse paths may not get populated when using a custom configuration provider.
5153
* Fix an issue with forced includes not being resolved against the same include path search order as a compiler would.
54+
* Fix a `${workspaceFolder}/*` include path not being used as a non-recursive browse path.
5255
* Fix an issue with include path ordering of paths specified with the `-imsvc` argument.
5356
* Fix a race condition that could result in incorrect include completion results.
54-
* Fix potential IntelliSense process crashes when processing Copilot snippets.
55-
* Fix a crash involving iconv when converting UTF-16 or UTF-32 to UTF-8.
56-
* Fix a potential crash when using the IntelliSense cache.
57+
* Avoid reporting an error due to multiple `didOpen` requests after a crash.
58+
* Fix an inaccurate cursor position for IntelliSense update.
5759
* Fix an IntelliSense crash if a "bad seq number" occurs.
5860
* Fix processes potentially getting stuck on shutdown.
5961
* Fix a potential crash when saving a file.
60-
61-
## Version 1.24.1: February 13, 2025
62-
### Bug Fixes
63-
* Fix random IntelliSense process crashes on Linux/macOS when `C_Cpp.intelliSenseCacheSize` is > 0. [#12668](https://github.com/microsoft/vscode-cpptools/issues/12668)
64-
* Fix a crash when processing Copilot snippets.
65-
* Fix a crash when using Copilot hover.
66-
67-
## Version 1.24.0: February 11, 2025
68-
### New Feature
69-
* Add experimental support for Copilot descriptions in hover tooltips, controlled by the `C_Cpp.copilotHover` setting. This feature is currently off by default and may be subject to A/B experimentation. To opt-out of Copilot Hover experiments, set `C_Cpp.copilotHover` to `disabled`.
70-
71-
### Enhancement
72-
* Improve/fix the switch header/source feature. [#2635](https://github.com/microsoft/vscode-cpptools/issues/2635)
73-
74-
### Bug Fixes
75-
* Fix an IntelliSense crash in `build_sections`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666), [#12956](https://github.com/microsoft/vscode-cpptools/issues/12956)
76-
* Fix a bug in which hundreds of custom configuration requests could be sent on startup before the configuration provider has registered. [#13166](https://github.com/microsoft/vscode-cpptools/issues/13166)
77-
* Fix handling of the `-framework` compiler argument. [#13204](https://github.com/microsoft/vscode-cpptools/issues/13204)
78-
* Fix a potential race between didChange and didOpen. [PR #13209](https://github.com/microsoft/vscode-cpptools/pull/13209)
79-
* Fix an issue with the `.editorconfig` `tab_size`. [PR #13216](https://github.com/microsoft/vscode-cpptools/pull/13216)
80-
* Fix a potential deadlock on shutdown if configuration providers are used. [#13218](https://github.com/microsoft/vscode-cpptools/issues/13218)
81-
* Fix system include/framework paths being used as a fallback for user include/framework paths in the base configuration. [PR #13247](https://github.com/microsoft/vscode-cpptools/pull/13247)
82-
* Fix an inaccurate cursor position for IntelliSense update.
8362
* Fix a random crash during code analysis.
8463

8564
## Version 1.23.6: February 6, 2025

0 commit comments

Comments
 (0)