Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07bb7dd

Browse files
authored
Remove workaround for v3 providers. (microsoft#5263)
* Remove workaround for v3 providers.
1 parent38d49bf commit07bb7dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎Extension/src/LanguageServer/client.ts‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,15 +1508,15 @@ export class DefaultClient implements Client {
15081508
if(!config){
15091509
return;
15101510
}
1511-
// TODO: This is a hack to get around CMake Tools bug: https://github.com/microsoft/vscode-cmake-tools/issues/1073
1512-
letfoundMatch:boolean=false;
1513-
for(letcofconfig.browsePath){
1514-
if(vscode.workspace.getWorkspaceFolder(vscode.Uri.file(c))===this.RootFolder){
1515-
foundMatch=true;
1516-
break;
1511+
if(currentProvider.version<Version.v3){
1512+
// This is to get around the (fixed) CMake Tools bug: https://github.com/microsoft/vscode-cmake-tools/issues/1073
1513+
for(letcofconfig.browsePath){
1514+
if(vscode.workspace.getWorkspaceFolder(vscode.Uri.file(c))===this.RootFolder){
1515+
this.sendCustomBrowseConfiguration(config,currentProvider.extensionId);
1516+
break;
1517+
}
15171518
}
1518-
}
1519-
if(foundMatch){
1519+
}else{
15201520
this.sendCustomBrowseConfiguration(config,currentProvider.extensionId);
15211521
}
15221522
if(!hasCompleted){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp