File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed
test/unitTests/lspToolHost Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 36
36
}
37
37
},
38
38
"defaults" : {
39
- "roslyn" : " 4.7.0-3.23326.2 " ,
39
+ "roslyn" : " 4.7.0-3.23328.5 " ,
40
40
"omniSharp" : " 1.39.6" ,
41
41
"razor" : " 7.0.0-preview.23328.2"
42
42
},
1293
1293
"description" : " Show regular expressions in completion list." ,
1294
1294
"order" : 20
1295
1295
},
1296
+ "dotnet.backgroundAnalysis.analyzerDiagnosticsScope" : {
1297
+ "type" : " string" ,
1298
+ "enum" : [
1299
+ " openFiles" ,
1300
+ " fullSolution" ,
1301
+ " none"
1302
+ ],
1303
+ "default" : " openFiles" ,
1304
+ "enumDescriptions" : [
1305
+ " Open documents" ,
1306
+ " Entire solution" ,
1307
+ " None"
1308
+ ],
1309
+ "description" : " Run background code analysis for:" ,
1310
+ "order" : 30
1311
+ },
1312
+ "dotnet.backgroundAnalysis.compilerDiagnosticsScope" : {
1313
+ "type" : " string" ,
1314
+ "enum" : [
1315
+ " openFiles" ,
1316
+ " fullSolution" ,
1317
+ " none"
1318
+ ],
1319
+ "default" : " openFiles" ,
1320
+ "enumDescriptions" : [
1321
+ " Open documents" ,
1322
+ " Entire solution" ,
1323
+ " None"
1324
+ ],
1325
+ "description" : " Show compiler errors and warnings for:" ,
1326
+ "order" : 30
1327
+ },
1296
1328
"dotnet.highlighting.highlightRelatedRegexComponents" : {
1297
1329
"type" : " boolean" ,
1298
1330
"default" : " true" ,
Original file line number Diff line number Diff line change @@ -189,6 +189,26 @@ const testData = [
189
189
vsCodeConfiguration : 'codeStyle.formatting.newLine.insertFinalNewline' ,
190
190
declareInPackageJson : false ,
191
191
} ,
192
+ {
193
+ serverOption : 'csharp|background_analysis.dotnet_analyzer_diagnostics_scope' ,
194
+ vsCodeConfiguration : 'dotnet.backgroundAnalysis.analyzerDiagnosticsScope' ,
195
+ declareInPackageJson : true ,
196
+ } ,
197
+ {
198
+ serverOption : 'mystery_language|background_analysis.dotnet_analyzer_diagnostics_scope' ,
199
+ vsCodeConfiguration : null ,
200
+ declareInPackageJson : false ,
201
+ } ,
202
+ {
203
+ serverOption : 'csharp|background_analysis.dotnet_compiler_diagnostics_scope' ,
204
+ vsCodeConfiguration : 'dotnet.backgroundAnalysis.compilerDiagnosticsScope' ,
205
+ declareInPackageJson : true ,
206
+ } ,
207
+ {
208
+ serverOption : 'mystery_language|background_analysis.dotnet_compiler_diagnostics_scope' ,
209
+ vsCodeConfiguration : null ,
210
+ declareInPackageJson : false ,
211
+ } ,
192
212
] ;
193
213
194
214
suite ( 'Server option name to vscode configuration name test' , ( ) => {
You can’t perform that action at this time.
0 commit comments