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 53ca75b commit 6b7083dCopy full SHA for 6b7083d
src/razor/src/dynamicFile/dynamicFileInfoHandler.ts
@@ -40,6 +40,8 @@ export class DynamicFileInfoHandler {
40
}
41
);
42
this.documentManager.onChange(async (e) => {
43
+ // Ignore any updates without text changes. This is important for perf since sending an update to roslyn does
44
+ // a round trip for producing nothing new and causes a lot of churn in solution updates.
45
if (e.kind == RazorDocumentChangeKind.csharpChanged && !e.document.isOpen && e.changes.length > 0) {
46
const uriString = UriConverter.serialize(e.document.uri);
47
const identifier = TextDocumentIdentifier.create(uriString);
0 commit comments