Skip to content

Commit c357224

Browse files
authored
Merge pull request #13245 from microsoft/seanmcm/1_23_6_release
Cherry-picks for 1.23.6
2 parents 006ebff + a636c87 commit c357224

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Extension/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.23.6: February 6, 2025
4+
### Bug Fixes
5+
* Fix a bug with remote attach debugging. [#13137](https://github.com/microsoft/vscode-cpptools/issues/13137)
6+
* Fix symlink-related regression bugs. [#13214](https://github.com/microsoft/vscode-cpptools/issues/13214), [#13228](https://github.com/microsoft/vscode-cpptools/issues/13228)
7+
* Fix a regression bug when using 'Select IntelliSense Configuration'. [#13220](https://github.com/microsoft/vscode-cpptools/issues/13220)
8+
* Fix a regression bug with `files.associations` handling. [#13223](https://github.com/microsoft/vscode-cpptools/issues/13223)
9+
310
## Version 1.23.5: January 28, 2025
411
### Enhancements
512
* Modifications to the snippet completions to more closely match the snippets provided by TypeScript. [#4482](https://github.com/microsoft/vscode-cpptools/issues/4482)

Extension/package.json

+1-1
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.23.5-main",
5+
"version": "1.23.6-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/LanguageServer/client.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1134,10 +1134,9 @@ export class DefaultClient implements Client {
11341134
return ui.ShowConfigureIntelliSenseButton(false, this, ConfigurationType.CompileCommands, showButtonSender);
11351135
} else {
11361136
action = "select compiler";
1137-
const newCompiler: string = util.isCl(paths[index]) ? "cl.exe" : paths[index];
1138-
1137+
let newCompiler: string = util.isCl(paths[index]) ? "cl.exe" : paths[index];
1138+
newCompiler = newCompiler.replace(/[\\/]/g, preferredPathSeparator);
11391139
settings.defaultCompilerPath = newCompiler;
1140-
settings.defaultCompilerPath = settings.defaultCompilerPath.replace(/[\\/]/g, preferredPathSeparator);
11411140
await this.configuration.updateCompilerPathIfSet(newCompiler);
11421141
void SessionState.trustedCompilerFound.set(true);
11431142
}

Extension/src/common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ export function findPowerShell(): string | undefined {
14501450
return name;
14511451
}
14521452
} catch (e) {
1453-
return undefined;
1453+
// ignore, try next candidate
14541454
}
14551455
}
14561456
}

0 commit comments

Comments
 (0)