Skip to content

Commit b83450b

Browse files
authored
Only show MiscFile toast when the uri scheme is file (#8240)
2 parents ff424d1 + 68705c7 commit b83450b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lsptoolshost/workspace/miscellaneousFileNotifier.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export function registerMiscellaneousFileNotifier(
2020
languageServer._projectContextService.onActiveFileContextChanged((e) => {
2121
// Only warn for C# miscellaneous files when the workspace is fully initialized.
2222
if (
23+
e.uri.scheme !== 'file' ||
2324
e.languageId !== 'csharp' ||
2425
!e.isVerified ||
2526
!e.context._vs_is_miscellaneous ||

0 commit comments

Comments
 (0)