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

Ignore untitled: URIs in LSP #580

Merged
merged 3 commits into from
Jun 15, 2022
Merged

Ignore untitled: URIs in LSP #580

merged 3 commits into from
Jun 15, 2022

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Jun 15, 2022

VSCode sends LSP requests with untitled: scheme URI when the file is not saved.

{:textDocument=>{:uri=>"untitled:Untitled-1", :languageId=>"ruby", :version=>6, :text=>"1+\"\"\n"}}}

Steep ignores that messages by processing only file: scheme URIs.

@soutaro
Copy link
Owner Author

soutaro commented Jun 15, 2022

Closes #574 because of duplication.

@soutaro soutaro merged commit c29b758 into master Jun 15, 2022
@soutaro soutaro deleted the lsp-untitled branch June 15, 2022 02:16
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.

1 participant