Gruntfuggly / todo-tree

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

Syntax highlighting dont work in vscode 1.73 #690

Closed sanojkl closed 1 year ago

sanojkl commented 1 year ago

It is not a problem with the config works fine in vscode 1.72.

works fine after downgrading back

dafo-formacio-oberta commented 1 year ago

Same here!

ghost commented 1 year ago

Not sure if is root cause or not, but VSCode indicates this plugin has the following runtime error : Class constructor Yt cannot be invoked without 'new'

Gruntfuggly commented 1 year ago

There is a pull request to fix this, but I just haven't had time to merge it. I'm hoping to do it over the weekend. Sorry for the delay!

mbomb007 commented 1 year ago

Syntax highlighting does work. However, it doesn't highlight by default. If you have "todo-tree.highlights.customHighlight" defined, it works.

A temporary fix for @todo:

    "todo-tree.highlights.customHighlight": {
        "@todo": {
          "iconColour": "#080",
          "background": "#fff",
          "foreground": "#000",
          "fontWeight": "bold"
        }
    }
mbomb007 commented 1 year ago

Link to the pull request that was mentioned: https://github.com/Gruntfuggly/todo-tree/issues/685

Gruntfuggly commented 1 year ago

Hopefully this is now fixed in the latest version (0.0.220)

mbomb007 commented 1 year ago

It's fixed. Tested it after updating. Thanks.

sanojkl commented 1 year ago

yes its fixed