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

Import statement intellisense prepends first typed character to selection #1227

Closed
danielrjames opened this issue Apr 22, 2022 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@danielrjames
Copy link

Hi,

To start - I've disabled all my plugins one by one and come to the conclusion that Volar is the cause of this.

When importing modules, consts, etc, when you type the first few letters of what you'd like to import and select a intellisense suggestion from the targeted file, the first character of what was previously typed is prepended to the selection.

Note - this does not happen when you select a snippet.

image

image

This only happens in Vue 3 and Nuxt3 projects. I'm also using take over mode.

I really like the plugin, but this bug is pretty annoying. 😭

@johnsoncodehk
Copy link
Member

Thanks for the report! But I can't see this problem, can you reproduce it in https://github.com/johnsoncodehk/volar-starter?

@ziloen
Copy link

ziloen commented Apr 26, 2022

I had the same problem
volar

@ziloen
Copy link

ziloen commented Apr 26, 2022

reproduce
vscode: 1.66.2
volar: 0.34.10
in App.vue

@johnsoncodehk johnsoncodehk added bug Something isn't working and removed need info labels Apr 29, 2022
@johnsoncodehk
Copy link
Member

@ziloen Thanks for the repro case!

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