Recently when I navigate through my code this plugin is causing significant delays when opening a file or navigating by the "Go to definition" action. The delay seems to be in two places.
- Finding and opening the file. (up to 2s of delay)
- After the file has opened, all keyboard inputs are delayed for ~.5s
Upon further investigation this seems to be because my project includes a "vendors" directory with source code for opensource libraries. Using colorize.exclude and excluding the "vendors" directory resolves the issue but this seems to be a performance issue introduced with recent changes.
Using an older version of this extension like the version forked by "YuTengjing" @ version 0.12.13 the issue is not present. I am using the latest version of your extension. 0.16.0
I will provide a repository shortly for recreation.
https://github.com/ronanmockett/vscode-colorize-issue-999
Minimal extensions for reproduction
Python (Pylance, Python Debugger)
Colorize
Recently when I navigate through my code this plugin is causing significant delays when opening a file or navigating by the "Go to definition" action. The delay seems to be in two places.
Upon further investigation this seems to be because my project includes a "vendors" directory with source code for opensource libraries. Using
colorize.excludeand excluding the "vendors" directory resolves the issue but this seems to be a performance issue introduced with recent changes.Using an older version of this extension like the version forked by "YuTengjing" @ version
0.12.13the issue is not present. I am using the latest version of your extension.0.16.0I will provide a repository shortly for recreation.
https://github.com/ronanmockett/vscode-colorize-issue-999
Minimal extensions for reproduction
Python (Pylance, Python Debugger)
Colorize