Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lsp): show diagnostics for untitled files #20916

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

nayeemrmn
Copy link
Collaborator

@nayeemrmn nayeemrmn commented Oct 16, 2023

Coupled with denoland/vscode_deno#978. If you open a yet-to-be-saved file, maybe through code file.ts for VSCode, that file wouldn't show diagnostics until it was saved to the FS. That's because we weren't handling untitled:https:/// specifiers passed from VSCode.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, no comments. Very nice fix!

@nayeemrmn nayeemrmn merged commit ebb7fe4 into denoland:main Oct 16, 2023
13 checks passed
@nayeemrmn nayeemrmn deleted the lsp-untitled-file-diagnostics branch October 16, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants