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 07225f1 commit 696b97dCopy full SHA for 696b97d
src/features/changeForwarding.ts
@@ -14,8 +14,8 @@ function forwardDocumentChanges(server: OmniSharpServer): IDisposable {
14
15
return workspace.onDidChangeTextDocument(event => {
16
17
- let { document } = event;
18
- if (document.isUntitled || document.languageId !== 'csharp' || document.uri.scheme !== 'file') {
+ let { document, contentChanges } = event;
+ if (document.isUntitled || document.languageId !== 'csharp' || document.uri.scheme !== 'file' || contentChanges.length === 0) {
19
return;
20
}
21
0 commit comments