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

[bug]: duplicated results on intellisense #186

Closed
icarusgk opened this issue May 25, 2024 · 4 comments
Closed

[bug]: duplicated results on intellisense #186

icarusgk opened this issue May 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@icarusgk
Copy link

icarusgk commented May 25, 2024

Description

When typing the name of a variable in <script>, an attribute or event handler in <template> or a selector in <style> the suggestions provided by Intellisense are duplicated.

I haven't noticed this issue in VS Code yet, but I have encountered it in the SFC Playground, Zed Editor, IDX Editor, and GitHub Codespaces.

Example:

Example

Workarounds

Refresh the SFC Playground with the already written code inside and the problem goes away.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label May 25, 2024
@icarusgk
Copy link
Author

Update: Zed has pinned @vuejs/language-server to version 1.8 due to this issue. https://zed.dev/docs/languages/vue

@johnsoncodehk
Copy link
Member

Fixed by vuejs/repl@f9f650a

@icarusgk
Copy link
Author

icarusgk commented Sep 8, 2024

Thank you! 😄

@Meesayen
Copy link

Hi @johnsoncodehk I'm now experiencing this in VS Code, with latest versions of the extension, the vue-tsc dependency and typescript. If I disable the extension and re-enable it, the issue disappears, but as soon as you restart the whole extension host of VS Code, the issue is there again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants