Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.43k stars 139 forks source link

Freezing / stuttering in the edition of large python files (.py) #797

Open GitHunter0 opened 12 months ago

GitHunter0 commented 12 months ago

Hey @Gruntfuggly , Todo Tree is really awesome, unfortunately it is freezing / stuttering in the edition of large python files (.py).

For example, it is happening with my .py script containing 4000 lines. Each time I press "Enter" to go to the next line, it is taking 2 or 3 seconds to do so, forcing me to disable the extension when I'm working in that file.

However, Todo Tree is a very important tool in my workflow and I can't work properly without it.

Therefore, is there a way to make it more efficient for large files or a manual mode in which the extension does not constantly and automatically update the tree for a specific file, only when the Refresh button is pressed?

Thank you

Windows 10 Pro
VScode: 1.83.0
Todo Tree: 0.0.226