vscode-colorize: freeze while typing in less files
Hi, I have problem with performance while typing anything in less files. When I start typing, CPU load grow and VSCode freeze for seconds…
My settings:
"colorize.languages": [ "css", "sass", "scss", "less", ], "colorize.colorized_variables": [ "CSS", "LESS" ], "colorize.enable_search_variables": false,
Problem occurs in version 0.8.3. Version 0.8.1 works OK…
VSCode: 1.30.1
Thanks.
EDIT: Now I realize, that version 0.8.1 doesn’t update change in variables… So it is faster, but has problem. Maybe there could be added some delay while typing?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (11 by maintainers)
Hello it’s almost done. This is before
This is after

I’m working on a patch that should solve this problem and improve colorize perfs. The idea is to colorize only what is visible instead of the whole file
@pingshunhuang I’ve released a new version. Everything should always be colorized.
I’ve just released a new version with this new feature. The new feature is not activated by default, to active the feature you need to set the setting
colorize.colorize_only_visible_betato true and reload vscode. The feature is still experimental please report any issue you might encounter