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

100% cpu when creating or removing closing tag before comments #227

Open
Egnus opened this issue Apr 16, 2024 · 0 comments
Open

100% cpu when creating or removing closing tag before comments #227

Egnus opened this issue Apr 16, 2024 · 0 comments

Comments

@Egnus
Copy link

Egnus commented Apr 16, 2024

Type: Bug

This is happening to me many times in TS, lately with React but it happened as well when with Svelte.
To reproduce, have some comments of not used html elements after a html element in React like so:

<div ...>
  if you remove this element closing, all will fail, 
  and even reloading VSCode the cpu will be always 100%.
  Even if you put it back again
</div>
//<div>
//<div>Other stuff</div>
//</div>

I ended up removing this extension as it happens quite often.

Extension version: 0.5.15
VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:43:08.196Z)
OS version: Darwin arm64 23.4.0
Modes:

System Info
Item Value
CPUs Apple M2 Pro (12 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 7, 5, 4
Memory (System) 32.00GB (0.07GB free)
Process Argv --crash-reporter-id f093a76b-05a1-455b-a32d-c0f0da733b20
Screen Reader no
VM 0%
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

1 participant