We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54ca34b commit 46b55d8Copy full SHA for 46b55d8
src/lsptoolshost/server/roslynLanguageServer.ts
@@ -895,6 +895,9 @@ export class RoslynLanguageServer {
895
// When a file is opened process any build diagnostics that may be shown
896
this._languageClient.addDisposable(
897
vscode.workspace.onDidOpenTextDocument(async (event) => {
898
+ if (event.languageId !== 'csharp') {
899
+ return;
900
+ }
901
try {
902
const buildIds = await this.getBuildOnlyDiagnosticIds(CancellationToken.None);
903
await this._buildDiagnosticService._onFileOpened(event, buildIds);
0 commit comments