formulahendry/vscode-auto-rename-tag

Causing 99% CPU usage

Open

#32 opened on Aug 29, 2017

View on GitHub
 (9 comments) (5 reactions) (0 assignees)TypeScript (39 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (277 stars)
PR merge metrics
 (PR metrics pending)

Description

Problem: When a .ejs file is saved, the CPU usage rises to 99%.

How to reproduce:

  • Create a .ejs file
  • Change something in it and save it

Evidence that this extension has something to do with it: I disabled all the other VSCode extensions and the issue does not happen, enabling only this one causes the problem, enabling any other plugin does not.

Running ps aux | grep 32942 returns: /Downloads/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Downloads/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=extensionHost

(being 32942 the PID of a Code Helper task is using 99% of the CPU)

VSCode version: 1.15.1 Extension version: 0.0.14

File is attached. index.ejs.zip

Contributor guide