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

VSCode becomes unresponsive while using auto-rename-tags extension and typing < or > #2214

Open
mboratko opened this issue Dec 11, 2017 · 2 comments

Comments

@mboratko
Copy link

mboratko commented Dec 11, 2017

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


BUG REPORT

Environment:

  • VSCode Version: 1.18.1
  • VsCodeVim Version: 0.10.5
  • Auto Rename Tags Version: 0.0.15
  • OS: Arch Linux (also occurs on Debian)

What happened:
I've noticed VSCode freezing up intermittently, usually after I enter a < or > within a LaTeX document. It is not completely unresponsive, but it will start to take 10-20 seconds per keystroke and requires that I close it and reopen it in order to get it working again. I finally was able to isolate and reliably reproduce the issue, and cleared out all my extensions and settings to verify the unusual behavior (described below).

What did you expect to happen:

How to reproduce it:

  1. From a clean install of VSCode (I just moved the ~/.vscode and ~/.config/Code folders) install vscode-auto-rename-tag and VSCodeVim and reload VSCode
  2. Put the following into a file called "test.tex":
    Each $B_i$ can be specified by $n$ bits, so we have that the input size is $O(mn)$, and since
  3. Save the file, and now move the cursor to the beginning of the line and try to insert $k < n$ (Keystrokes: Esc I $k < n$)

Result:
The cursor freezes after the < character, and VSCode is unresponsive. Closing it down leaves a process hanging around in the background, which has to be killed manually. (killall code)

Strangely enough, this does not occur when only one of the two extensions above are installed, but I can't imagine what the connection is.

For reference, bug report on auto-rename-tag: formulahendry/vscode-auto-rename-tag#40

@mboratko mboratko changed the title Strange issue on particular strings when using auto-rename-tags extension VSCode becomes unresponsive while using auto-rename-tags extension and typing < or > Dec 11, 2017
@ewingrj
Copy link

ewingrj commented Jan 28, 2018

having this same issue, however it occurs when editing html attributes on the same line as the tag and the entire line is past ~80 columns. Editing an attributes on the same line as the tag where the entire line is < ~80 cols works fine. I'm not sure if this is a vim issue or the auto-rename-tags issue

@fsegouin
Copy link

Same thing happens to me when coding in JSX and using self-closing tags. Whenever I want to type /> it gets very confused and the process cpu usage go up to 99% in a few seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants