-
Notifications
You must be signed in to change notification settings - Fork 327
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
Automatic insertion of bullet points is unreliable #715
Comments
Can you disable all other extensions and try again? It works stably on my PC. (Your line numbers looks different from a regular setting.) |
I actually failed to reproduce this with extensions turned off. I used to use the Vim extension and since switched to https://github.com/asvetliakov/vscode-neovim which seemingly fixed the issue, but right now it happened again. I don't know how possibly to check the influence of every extension I use on the frequency of this issue. I guess somewhere deep down there is some kind of race condition. |
I guess the Vim extension is the reason as both it and this extension listen to the "onEnterKey" event and do some edits according to the context. This extension tries to avoid such a conflict by checking the Vim mode Line 122 in bbada83
I realized you are using Please also check https://github.com/asvetliakov/vscode-neovim#performancelatency-problems. It is common that a Vim extension conflicts with some extensions because of the mechanism. |
I see. Do I understand correctly that it is out of the control of extension authors to address such behavior? In that case I’d try escalating the issue to the VSCode maintainers as it would be framed more aptly as an issue with the extension system rather than a particular extension. |
Exactly. For a single extension, it overrides any key it wants to change. Usually different extensions won't conflict as we have
I agree although I don't think there is a good solution now (and it is hard to tell what VSCode should do to improve this situation). The Vim extensions are eventually simulators on VSCode and some performance(-related/caused) issues are expected. |
Close as there is not much we can do on this side. |
What is the problem?
Insertions of bullet sometimes happens:
How can I reproduce it?
With a bit of patience and good timing as shown in this GIF. If you regularly write deeply nested bullet point lists you notice it happening about 1 of 25 times. Nothing tragic, but mildly annoying.
Is there any error message in the console?
No.
The text was updated successfully, but these errors were encountered: