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 0201fb5 commit e8530f9Copy full SHA for e8530f9
src/features/changeForwarding.ts
@@ -49,6 +49,13 @@ function forwardFileChanges(server: OmniSharpServer): IDisposable {
49
return;
50
}
51
52
+ if (changeType === FileChangeType.Change && uri.fsPath.endsWith(".cs")) {
53
+ // The server watches for file system events from .cs files, if we send
54
+ // a file changed event as well it will cause a double-apply and potentially
55
+ // invalidate the file state
56
+ return;
57
+ }
58
+
59
let req = { FileName: uri.fsPath, changeType };
60
61
serverUtils.filesChanged(server, [req]).catch(err => {
0 commit comments