fabiospampinato / vscode-todo-plus

Manage todo lists with ease. Powerful, easy to use and customizable.
MIT License
908 stars 228 forks source link

Open embed is extremly slow in workspace with many file, even though only few file are in `todo.embedded.include` #330

Open albert-ying opened 3 years ago

albert-ying commented 3 years ago

I work in a large workspace, with many output files. Although I specified the filetypes to be included in embedded by

"todo.embedded.include": [
  "**/*.R",
  "**/*.md",
  "**/*.rmd"
]

It still takes more than 3 mins to respond each time I run open embedded. I'm wondering how can I improve the performance?

albert-ying commented 3 years ago

If it is not an easy problem to solve. Is it possible to add a command to open embedded for current/opened files without scanning the whole workspace? Or only scan the folder that the current file is in (usually, a script folder) and the root folder.