Open djdakta opened 4 years ago
How big is your .todo file?
Sorry for the late reply. I would love to give you that information but I don't know where to find it. :-(
Then you're not using Todo+ for editing .todo
files, you're probably using for finding //TODO
comments in existing projects right? So I guess maybe you're editing very large projects and/or don't have ag/rg installed on your system?
Hmmm... The Todo extension has it's menu option on the left side of VS Code. This is what I find on top of one of the Todo's... $Id: TODO 2325 2006-06-12 07:06:49Z dallen $ As far as I know, I'm using it like you say, finding '//TODO' comments in existing projects.
$Id: TODO 2325 2006-06-12 07:06:49Z dallen $
I'm not sure what this means 🤔
Is the extension always slow for you? Can you can you try installing ag or rg on your system?
No, it's not always slow. I had this issue only twice since I installed the extension a few months ago.
Try installing ag/rg and see how it goes, there isn't much I can do about this.
Thx for your time and support.
Hi @fabiospampinato. Sorry for commenting on a closed issue, but I've been seeing similar behaviour - I don't mind opening a new issue if needed.
My .todo file has 537 lines, with 158 TODOs and 53 sections. The extra lines are from comments. Adding a new TODO (i.e. pressing Ctrl+D under some section) causes a CPU spike for about 2-3 seconds. Using backticks when typing in a TODO will cause CPU usage to spike for 5-10 seconds.
Extension Version: 4.18.4 OS Version: Ubuntu 20.04 LTS x64 VSCode version: 1.60.2
Let me know if you need more info.
unfortunately, i have faced the cpu problem as well.. fabiospampinato.vscode-todo-plus-unresponsive.cpuprofile.txt
fabiospampinato.vscode-todo-plus-unresponsive.cpuprofile.txt
Performance
vscode-todo-plus
4.14.1
Darwin x64 18.7.0
1.38.1
:warning: Make sure to attach this file from your home-directory: :warning:
fabiospampinato.vscode-todo-plus-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load