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.
1 parent 3ea9b0d commit 3630259Copy full SHA for 3630259
src/extensions.ts
@@ -29,7 +29,7 @@ export class InitializeTextDocumentFeature implements StaticFeature {
29
30
const languageClient = this.languageClient
31
async function saveFile (textDocument: vscode.TextDocument) {
32
- if (documentSelector != null && vscode.languages.match(documentSelector, textDocument) > 0) {
+ if (documentSelector != null && vscode.languages.match(documentSelector, textDocument) > 0 && textDocument.uri.scheme === 'file') {
33
await updateFile(textDocument.uri.toString(), textDocument.getText(), languageClient)
34
35
// Always send notification even if the server doesn't support it (because csharp register the didSave feature too late)
0 commit comments