vscode-markdown: Backspace and enter lag (conflicts with Spell Check)
What is the problem?
In reference to several issues, prinicipally https://github.com/yzhang-gh/vscode-markdown/issues/17, I still am experiencing this problem. The backspace and enter bug is still not solved.
Therefore, I had to remove some keyboard shortcuts of your extension, but it still did not work yet, then I had to use @VictorioBerra’s tricks, it almost worked, but later it stopped of working.
How can I reproduce it?
Still the same problem that the other users have experienced.
Is there any error message in the console?
No
I am using Manjaro Linux KDE and VSCode Insiders 1.34.
Workaround
If you do not need the “list continuation” feature, you can delete some key bindings (e.g. onEnterKey
, onBackspaceKey
). See instructions at https://github.com/yzhang-gh/vscode-markdown/issues/88#issuecomment-364628067.
If you want to investigate more, you can check1 these extensions first, which are reported (probably) conflicting with Markdown-All-in-One:
- Spell Right
- Bracket Pair Colorizer 2
1. disable it and see whether the issue is gone edited by @yzhang-gh
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 14
- Comments: 44 (13 by maintainers)
@Jamf05
English
This @yzhang-gh’s extension’s keyboard shortcuts have conflict with Mirosoft’s native Markdown extension’s. You have to remove the keyboard shortcuts from “Open Keyboard Shortcuts”.
Español
Los atajos de teclado de la extensión de @yzhang-gh tienen conflicto con aquellos de la extensión Markdown nativa de la Mirosoft. Debes eliminar los atajos de teclado de “Open Keyboard Shortcuts”.
1. Presiona <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>; 2. Encunetra “Preferences: Keyboard Shortcuts”; 3. Escribe “markdown.extension.onEnterKey”, “markdown.extension.onBackspaceKey” y “markdown.extension.onTabKey”, y abre la ventana pop-up. Selecciona “Remove keybinding”.
I had this problem in combination with SpellRight. I started to have lag when pressing backspace up till it wouldn’t work at all. It seems to happen when the caret is on words with typos, ie when they are underlined in red by the other extension. There is an issue on the other repo but without answers for now: https://github.com/bartosz-antosik/vscode-spellright/issues/363. For the moment I’ve used gusbemacbe quick fix and it seems to do the job.
And no, it’s not acceptable to ask me to disable all other extensions. That’s not the answer. Fix up wiring your keybindings. Make sure they work, all the time, every time.
Hey @gusbemacbe, thanks for your quick reply! It got better using your suggestion updating the keybindings. What fully solved the problem then was switching from “Spell Right” to “Code Spell Checker” extension.
@tobealive
You need to create a workspace with only enabled necessary extensions and all disabled unnecessary extensions. I know you find it too much tired, therefore, I indicate @evald24’s Extension Profiles.
The
spellright
extension also causes any extension to break, not just Markdown All in One, and is openly hostile to every extension. I had to remove thespellright
extension as the extension’s author is not interested in fixing that.Hmm, I once had Code Spell Checker installed, and it caused me huge performance issues, so much so that I uninstalled it. So, it seems as though there is some performance aspect with respect to this issue.
All I can say is that I re-enabled all my other extensions, except Windows opacity, and everything works just fine. So, there are probably some isolated, but poor performing extensions in the marketplace causing negative interactions with other extensions, such as this one.
I did humor you and disable all extensions and re-enabled this one. Backspace and Enter do work. I have many extensions installed, but this extension consistently gives me more trouble than any other extension.