Skip to content

Commit bfa36bc

Browse files
authored
Merge pull request #12886 from microsoft/main
Merge for 1.23.0 (2nd time)
2 parents 5cbe83e + 8cb1def commit bfa36bc

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

Extension/CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.23.0: October 24, 2024
4+
### Enhancements
5+
* Update to clang-format and clang-tidy 19.1.2. [#12824](https://github.com/microsoft/vscode-cpptools/issues/12824)
6+
7+
### Bug Fixes
8+
* Fix some translation issues. [#7824](https://github.com/microsoft/vscode-cpptools/issues/7824), [#12439](https://github.com/microsoft/vscode-cpptools/issues/12439), [#12440](https://github.com/microsoft/vscode-cpptools/issues/12440), [#12441](https://github.com/microsoft/vscode-cpptools/issues/12441)
9+
* Fix a bug with 'Select IntelliSense Configuration'. [#12705](https://github.com/microsoft/vscode-cpptools/issues/12705)
10+
* Fix newlines being removed from hover markdown code blocks. [#12794](https://github.com/microsoft/vscode-cpptools/issues/12794)
11+
* Fix clang-format using `-` instead of `--` args. [#12819](https://github.com/microsoft/vscode-cpptools/issues/12819)
12+
* Fix processing of `compile_commands.json` generated by the clang `-MJ` option. [#12837](https://github.com/microsoft/vscode-cpptools/issues/12837)
13+
* Fix handling of `-I` and `-isystem` with the same path. [#12842](https://github.com/microsoft/vscode-cpptools/issues/12842)
14+
* Fix stale colorization due to delays in updating the open file version. [PR #12851](https://github.com/microsoft/vscode-cpptools/pull/12851)
15+
* Fix redundant progressive squiggle updates. [PR #12876](https://github.com/microsoft/vscode-cpptools/pull/12876)
16+
* Fix inactive regions with multi-byte UTF-8 characters. [#12879](https://github.com/microsoft/vscode-cpptools/issues/12879)
17+
* Fix some duplicate requests potentially not getting discarded.
18+
* Fix a random crash in `start_process_and_wait_for_exit`.
19+
320
## Version 1.22.10: October 21, 2024
421
### Bug Fixes
522
* Fix the 'Extract to Function' feature not working.
623
* Fix the 'Go to Next/Prev Preprocessor Conditional' feature not working.
724

8-
## Version 1.22.9: October 10, 2024
25+
## Version 1.22.9: October 14, 2024
926
### Performance Improvements
1027
* Initialization performance improvements. [#12030](https://github.com/microsoft/vscode-cpptools/issues/12030)
1128
- Some processing is parallelized and started earlier (populating the filename cache, discovering files). [#11954](https://github.com/microsoft/vscode-cpptools/issues/11954), [#12169](https://github.com/microsoft/vscode-cpptools/issues/12169)

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "1.22.9-main",
5+
"version": "1.23.0-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/LanguageServer/client.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ export class DefaultClient implements Client {
10461046
if (index === paths.length - 1) {
10471047
action = "disable";
10481048
settings.defaultCompilerPath = "";
1049-
await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath);
1049+
await this.configuration.updateCompilerPathIfSet("");
10501050
configurationSelected = true;
10511051
await this.showPrompt(sender);
10521052
return ui.ShowConfigureIntelliSenseButton(false, this, ConfigurationType.CompilerPath, "disablePrompt");
@@ -1066,7 +1066,7 @@ export class DefaultClient implements Client {
10661066
configurationSelected = true;
10671067
action = "compiler browsed";
10681068
settings.defaultCompilerPath = result[0].fsPath;
1069-
await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath);
1069+
await this.configuration.updateCompilerPathIfSet(result[0].fsPath);
10701070
void SessionState.trustedCompilerFound.set(true);
10711071
} else {
10721072
configurationSelected = true;
@@ -1084,8 +1084,9 @@ export class DefaultClient implements Client {
10841084
return ui.ShowConfigureIntelliSenseButton(false, this, ConfigurationType.CompileCommands, showButtonSender);
10851085
} else {
10861086
action = "select compiler";
1087-
settings.defaultCompilerPath = util.isCl(paths[index]) ? "cl.exe" : paths[index];
1088-
await this.configuration.updateCompilerPathIfSet(settings.defaultCompilerPath);
1087+
const newCompiler: string = util.isCl(paths[index]) ? "cl.exe" : paths[index];
1088+
settings.defaultCompilerPath = newCompiler;
1089+
await this.configuration.updateCompilerPathIfSet(newCompiler);
10891090
void SessionState.trustedCompilerFound.set(true);
10901091
}
10911092
}

0 commit comments

Comments
 (0)