File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class RazorDocumentManager implements IRazorDocumentManager {
50
50
// succeed. Without this, even a simple diagnostics request will fail in Roslyn if the user just opens a .razor document
51
51
// and leaves it open past the timeout.
52
52
if ( this . razorDocumentGenerationInitialized ) {
53
- await this . ensureProjectedDocumentsOpen ( document ) ;
53
+ await this . ensureDocumentAndProjectedDocumentsOpen ( document ) ;
54
54
}
55
55
56
56
return document ;
@@ -306,10 +306,6 @@ export class RazorDocumentManager implements IRazorDocumentManager {
306
306
await vscode . workspace . openTextDocument ( razorUri ) ;
307
307
}
308
308
309
- await this . ensureProjectedDocumentsOpen ( document ) ;
310
- }
311
-
312
- private async ensureProjectedDocumentsOpen ( document : IRazorDocument ) {
313
309
await vscode . workspace . openTextDocument ( document . csharpDocument . uri ) ;
314
310
await vscode . workspace . openTextDocument ( document . htmlDocument . uri ) ;
315
311
}
You can’t perform that action at this time.
0 commit comments