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.23275.2"
42
42
},
1284
1284
"description" : " Show regular expressions in completion list." ,
1285
1285
"order" : 20
1286
1286
},
1287
+ "dotnet.backgroundAnalysis.analyzerDiagnosticsScope" : {
1288
+ "type" : " string" ,
1289
+ "enum" : [
1290
+ " openFiles" ,
1291
+ " fullSolution" ,
1292
+ " none"
1293
+ ],
1294
+ "default" : " openFiles" ,
1295
+ "enumDescriptions" : [
1296
+ " Open documents" ,
1297
+ " Entire solution" ,
1298
+ " None"
1299
+ ],
1300
+ "description" : " Run background code analysis for:" ,
1301
+ "order" : 30
1302
+ },
1303
+ "dotnet.backgroundAnalysis.compilerDiagnosticsScope" : {
1304
+ "type" : " string" ,
1305
+ "enum" : [
1306
+ " openFiles" ,
1307
+ " fullSolution" ,
1308
+ " none"
1309
+ ],
1310
+ "default" : " openFiles" ,
1311
+ "enumDescriptions" : [
1312
+ " Open documents" ,
1313
+ " Entire solution" ,
1314
+ " None"
1315
+ ],
1316
+ "description" : " Show compiler errors and warnings for:" ,
1317
+ "order" : 30
1318
+ },
1287
1319
"dotnet.highlighting.highlightRelatedRegexComponents" : {
1288
1320
"type" : " boolean" ,
1289
1321
"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