Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vs branch #13176

Closed
wants to merge 52 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1b21b69
Update changelog for 1.23.1 (#12931)
sean-mcmanus Nov 6, 2024
c9cae0b
Update changelog. (#12938)
sean-mcmanus Nov 6, 2024
911c39d
Fixes to compile commands file watchers fallback logic (#12948)
yiftahw Nov 13, 2024
9646722
Address issue with `Attempting to use languageClient before initializ…
Colengms Nov 13, 2024
05fbc0e
Fix matching of editorConfig sections patterns (#12953)
Colengms Nov 13, 2024
64e9106
Bump cross-spawn from 7.0.3 to 7.0.6 in /Extension (#12973)
dependabot[bot] Nov 19, 2024
bfa3c75
Add a CODEOWNERS file for required PR reviews (#12987)
bobbrow Nov 21, 2024
21a44d9
Add a string for multiple compile_commands.json (on native side) (#12…
Colengms Dec 2, 2024
a6089ea
Support A/B Compiler Arguments Traits (#12979)
kuchungmsft Dec 2, 2024
9efde54
pass optional parameter to C_Cpp.ConfigurationSelect (#12993)
adrianstephens Dec 3, 2024
74d691f
Update mac runner to macos-14 (#13013)
Colengms Dec 3, 2024
052bcff
Fix an unnecessary cancel/re-request with GitHub Copilot requests (an…
sean-mcmanus Dec 4, 2024
44b736e
Update changelog for 1.23.2 (#13020)
Colengms Dec 5, 2024
05d43dc
[Auto] Localization - Translated Strings (#12869)
csigs Dec 5, 2024
ee71e1f
Update changelog for 1.23.2 (2nd time) (#13024)
Colengms Dec 5, 2024
fa80d44
Support for copilot-generated summaries in quick info. (On-the-fly do…
spebl Dec 9, 2024
d04d53e
Detect compile_commands.json after containing folder deleted and recr…
yiftahw Dec 11, 2024
cd5aaaa
Fix native strings. (#13046)
sean-mcmanus Dec 12, 2024
ab7bebf
Fix space around binary operator translation. (#13057)
sean-mcmanus Dec 14, 2024
d7ee241
Update `extension.test.ts` reference (#13040)
emmanuel-ferdman Dec 14, 2024
fbf8135
Trigger reparsing when `files.encoding` setting changes (#13047)
Colengms Dec 16, 2024
afb208d
get isense client by uri (#13059)
lukka Dec 17, 2024
84b92dc
Don't show the output window for "references may be missing" when the…
bobbrow Dec 18, 2024
b11f390
Bump nanoid from 3.3.7 to 3.3.8 in /Extension (#13060)
dependabot[bot] Dec 18, 2024
73f4442
Update the descriptions of clang path settings (#13071)
bobbrow Dec 19, 2024
b96d82a
Add appName telemetry (#13072)
benmcmorran Dec 19, 2024
5c684a8
Don't reset everyones databases (#13073)
Colengms Dec 19, 2024
a172a42
Ensure default persistent values get persisted (#13074)
Colengms Dec 19, 2024
0aaae1f
Support sending telemetry during cpptools initialization (#13077)
benmcmorran Dec 20, 2024
2bff033
Handle multiple compile commands on client side (needs native server …
yiftahw Dec 30, 2024
42c6d99
Updated Description for Preferred Path Separator Setting and Refactor…
browntarik Dec 31, 2024
d2626e0
Re-enable the SingleRootProject tests with check-in tests and fix the…
sean-mcmanus Dec 31, 2024
fa0e1c0
Fix cl.exe.not.available loc. (#13091)
sean-mcmanus Dec 31, 2024
d70d063
Fix other developer command prompt cases, and "developer" and "code" …
sean-mcmanus Jan 2, 2025
6e3e074
Update msvc versions. (#13097)
sean-mcmanus Jan 3, 2025
4c6f319
Update IntelliSense loc strings. (#13098)
sean-mcmanus Jan 3, 2025
200f093
Add 3rd party notice for libiconv (#13056)
Colengms Jan 7, 2025
8e5bbf1
Support C89 in Completion Prompts (#13132)
kuchungmsft Jan 8, 2025
205ae06
Update changelog and version for 1.23.3. (#13127)
sean-mcmanus Jan 8, 2025
941aa60
Minor TPN updates. (#13135)
sean-mcmanus Jan 8, 2025
fed7a82
Fix .editorConfig setting precedence (#13140)
Colengms Jan 10, 2025
6f9ddbf
Fix casing of Windows. (#13149)
sean-mcmanus Jan 14, 2025
c4d9f11
Update changelog and version for 1.23.4. (#13155)
sean-mcmanus Jan 15, 2025
e4091ab
Combine ProjectContext and RelatedFilesProvider Telemetry in One Even…
kuchungmsft Jan 16, 2025
31969c8
Stop sending err.message in telemetry (#13158)
sean-mcmanus Jan 16, 2025
9e96d63
Update changelog (2nd time). (#13159)
sean-mcmanus Jan 16, 2025
5d32121
Support Content Exclusion for Copilot Hover (#13143)
spebl Jan 16, 2025
ce0435b
Update changelog for 1.23.4 (3rd time) (#13164)
sean-mcmanus Jan 18, 2025
33a205b
Fix issue with config requests before provider has registered (#13167)
Colengms Jan 18, 2025
1b82daf
[Auto] Localization - Translated Strings (#13027)
csigs Jan 22, 2025
1aa24fe
Add a changelog entry. (#13177)
sean-mcmanus Jan 22, 2025
cdf1e6b
Bump undici from 5.28.4 to 5.28.5 in /.github/actions (#13180)
dependabot[bot] Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated Description for Preferred Path Separator Setting and Refactor…
… Its Usage (#13082)

* Updated description for preferred path separator setting.

* Change wording.

* Refactor configuration quickpick to correctly reflect preferred path separator.
browntarik authored Dec 31, 2024

Verified

This commit was signed with the committer’s verified signature.
inkydragon Chengyu Han
commit 42c6d99012dc3a8d02d6c05e6e598f7f2150e5a5
2 changes: 1 addition & 1 deletion Extension/package.nls.json
Original file line number Diff line number Diff line change
@@ -566,7 +566,7 @@
"c_cpp.configuration.exclusionPolicy.checkFolders.description": "The exclusion filters will only be evaluated once per folder (individual files are not checked).",
"c_cpp.configuration.exclusionPolicy.checkFilesAndFolders.description": "The exclusion filters will be evaluated against every file and folder encountered.",
"c_cpp.configuration.preferredPathSeparator.markdownDescription": {
"message": "The character used as a path separator for `#include` auto-completion results.",
"message": "The character used as a path separator for generated user paths.",
"comment": [
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
]
13 changes: 11 additions & 2 deletions Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
@@ -984,7 +984,8 @@ export class DefaultClient implements Client {
private static readonly compileCommandsLabel: string = "compile_commands.json";
private static readonly compilersLabel: string = "compilers";

public async showSelectIntelliSenseConfiguration(paths: string[], compilersOnly?: boolean): Promise<number> {
public async showSelectIntelliSenseConfiguration(paths: string[], preferredPathSeparator: string, compilersOnly?: boolean): Promise<number> {
paths = paths.map(p => p.replace(/[\\/]/g, preferredPathSeparator));
const options: vscode.QuickPickOptions = {};
options.placeHolder = compilersOnly || !vscode.workspace.workspaceFolders || !this.RootFolder ?
localize("select.compiler", "Select a compiler to configure for IntelliSense") :
@@ -1077,7 +1078,13 @@ export class DefaultClient implements Client {
installShown = false;
}
paths.push(localize("noConfig.string", "Do not configure with a compiler (not recommended)"));
const index: number = await this.showSelectIntelliSenseConfiguration(paths, showCompilersOnly);
let preferredPathSeparator: string = settings.preferredPathSeparator;
if (preferredPathSeparator === "Forward Slash") {
preferredPathSeparator = "/";
} else if (preferredPathSeparator === "Backslash") {
preferredPathSeparator = "\\";
}
const index: number = await this.showSelectIntelliSenseConfiguration(paths, preferredPathSeparator, showCompilersOnly);
let action: string = "";
let configurationSelected: boolean = false;
const fromStatusBarButton: boolean = !showCompilersOnly;
@@ -1128,7 +1135,9 @@ export class DefaultClient implements Client {
} else {
action = "select compiler";
const newCompiler: string = util.isCl(paths[index]) ? "cl.exe" : paths[index];

settings.defaultCompilerPath = newCompiler;
settings.defaultCompilerPath = settings.defaultCompilerPath.replace(/[\\/]/g, preferredPathSeparator);
await this.configuration.updateCompilerPathIfSet(newCompiler);
void SessionState.trustedCompilerFound.set(true);
}