We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e8f731 + eb32706 commit c988990Copy full SHA for c988990
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