yioneko / vtsls

LSP wrapper for typescript extension of vscode
Other
486 stars 7 forks source link

TSServer gets more correct import suggestion than vtsls #151

Closed sinelnikov-web closed 3 months ago

sinelnikov-web commented 6 months ago

On the screenshot the first option is from vtsls and it's import incorrect. It will be ok if it would suggest me several variants, but vtsls give only one and incorrect.

But below you can see the sixth option, it comes from tsserver and it's absolutely right.

How I can get the same result with vtsls?

telegram-cloud-photo-size-2-5213062907263310788-y

yioneko commented 6 months ago

Could you try it in VSCode? The server does not touch any code about code action of missing import, and if it behaves differently I would look into the problem.

sinelnikov-web commented 6 months ago

In vscode I had the same issue

yioneko commented 6 months ago

Then the issue should be reported to VSCode repo. Once it is fixed there, we just need to update the referenced VSCode submodule.