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

Everything in Intellisense is duplicated #1105

Open
nleanba opened this issue Apr 9, 2024 · 3 comments
Open

Everything in Intellisense is duplicated #1105

nleanba opened this issue Apr 9, 2024 · 3 comments

Comments

@nleanba
Copy link

nleanba commented Apr 9, 2024

Describe the bug

In any project where Deno is enabled, all Intellisense features are duplicated: suggestions, type info on hover, go to definition, etc.

Notably, the two suggestions/types are not always identical. The second one usually starts with (loading...), and tends to be less precise (more often any). IN some projects of mine, the second one is stuck on "Loading..." indefinitely.

I am assuming this is because the vs code built-in typescript features also (try) to provide this information. However, when disabling Typescript suggestions in the settings or disabling the builtin typescript extension, both disappear — I am unable to manually selectively disable the built in typescript features.

To Reproduce

Happens on literally any of my Deno projects.

Expected behavior

I expect the Deno extension to disable the builtin Intellisense suggestions.

Screenshots
image
image

Versions

vscode: 1.88.0 deno: 1.40.5 extension: v3.36.0

@nayeemrmn
Copy link
Collaborator

Check that you don't have a separate extension causing that. I don't recognise the (loading...)

@nleanba
Copy link
Author

nleanba commented Apr 9, 2024

As far as I can tell, the loading... is produced by the built-in typescript extension, if its typescript language server is slow for some reason.

Update:
The issue still occurs if all installed vs code extensions are disabled except Deno. (Also after quitting+relaunching vs code).

If I also disable the Deno extension, only the (loading...) entry appears, supporting the assumption that that is the suggestion provided by the builtin typescrip features.

It seems to me that on my computer, the Deno extension somehow fails to supress the builtin suggestions.

@nayeemrmn
Copy link
Collaborator

@nleanba Please share your deno.enable related settings, and project structure with regards to deno.json locations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants