VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.9k stars 1.32k forks source link

Code Helper uses 99% CPU when Auto Close Tag plugin is used with VSCodeVim #2119

Open tmpjr opened 6 years ago

tmpjr commented 6 years ago

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG Environment:

What happened:

Start typing a closing tag and let Auto Close Tag trigger drop down of autocompletions. Eg, Type

<v-dialog></...

The options will show in a drop down but then VSCode becomes immediately unresponsive. I bring up Mac's Activity Monitor and see "Code Helper" at 99% CPU. Force quitting Code Helper alleviates the issue but it will happen each time you reproduce the steps.

Auto Close Tag works fine withVSCodeVim plugin disabled.

What did you expect to happen: Using VSCodeVim and Auto Close Tag plugin to work together without crashing VSCode.

How to reproduce it: Install VSCodeVim and Auto Close Tag plugins. Open an HTML file and type any HTML tag and then start typing its corresponding closing tag. Let autocomplete options show and observe activity monitor for CPU usage.

michael-land commented 6 years ago

same here