Skip to content

Commit beb205f

Browse files
committed
Auto merge of rust-lang#17062 - Veykril:disable-unlinked-file-popup, r=Veykril
Temporarily disable unlinked file popup Not gonna look into this until the next release, so I'd rather disable it for the time being
2 parents 773b4a5 + ff9ebc7 commit beb205f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

editors/code/src/client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ export async function createClient(
131131
? diag.code
132132
: diag.code?.value;
133133
if (
134-
value === "unlinked-file" &&
134+
// FIXME: We currently emit this diagnostic way too early, before we have
135+
// loaded the project fully
136+
// value === "unlinked-file" &&
137+
value === "temporary-disabled" &&
135138
!unlinkedFiles.includes(uri) &&
136139
diag.message !== "file not included in module tree"
137140
) {

0 commit comments

Comments
 (0)