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

Target Language for Regex setting in settings.json #765

Open allemand-instable opened 1 year ago

allemand-instable commented 1 year ago

Defining the regex on langugae specific settings (VScode doc) does not seem to work

"[latex]": {
        "todo-tree.regex.regex": "((>| |@)\\s*($TAGS)\\{*|^\\s*- \\[ \\])",
        "todo-tree.regex.regexCaseSensitive": false,
        // other
        "editor.defaultFormatter": "nickfode.latex-formatter"
    },
image
    "todo-tree.regex.regex": "((>| |@)\\s*($TAGS)\\{*|^\\s*- \\[ \\])",
    "[latex]": {
        "todo-tree.regex.regexCaseSensitive": false,
        // other
        "editor.defaultFormatter": "nickfode.latex-formatter"
    },
image

I verified that I am using the right language id :

image
AddisonHowe commented 6 months ago

I'm having the same issue.