vtsls icon indicating copy to clipboard operation
vtsls copied to clipboard

TSServer gets more correct import suggestion than vtsls

Open sinelnikov-web opened this issue 1 year ago • 3 comments

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

sinelnikov-web avatar Apr 01 '24 17:04 sinelnikov-web

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.

yioneko avatar Apr 02 '24 01:04 yioneko

In vscode I had the same issue

sinelnikov-web avatar Apr 02 '24 08:04 sinelnikov-web

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

yioneko avatar Apr 02 '24 11:04 yioneko