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): handle import specifier not having a trailing quote #13074

Merged
merged 3 commits into from Dec 13, 2021

Conversation

dsherret
Copy link
Member

No description provided.

Copy link
Contributor

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

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

Some sort of test?

cli/lsp/completions.rs Show resolved Hide resolved
@kitsonk
Copy link
Contributor

kitsonk commented Dec 13, 2021

Will this actually improve things at the moment? Meaning does swc parse the document to a point where we can detect that span at all? The test doesn't validate that we are providing code completions for something without a trailing quote, so I can determine if it does, or if we need further changes from swc?

@dsherret
Copy link
Member Author

@kitsonk there's a test in swc for that, but I have repl import specifier completions incoming so it will be tested in integration then.

Copy link
Contributor

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit c9d32e0 into denoland:main Dec 13, 2021
@dsherret dsherret deleted the fix_no_quotes_lsp_range branch December 13, 2021 21:28
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.

None yet

2 participants