Gruntfuggly / todo-tree

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

Compact folders break Tree mode when subTags get detected #836

Open mbalc opened 2 months ago

mbalc commented 2 months ago

Subtags produce a folder that's impossible to unfold - see and reproduce, using a similar file structure as in the screenshots

Compact folders off: image

Compact folders on: image

config:

  "todo-tree.regex.regex": "(//|#|<!--|;|/\\*|/\\*\\*|^\\s*(-|\\d+.))\\s*($TAGS).*(\\n\\s*//\\s{2,}.*)*",
  "todo-tree.regex.subTagRegex": "^\\s*\\((.*)\\)",

Using version v0.0.226