jgclark / vscode-todo-highlight

VSCode Extension to highlight TODOs etc.
MIT License
105 stars 22 forks source link

Applying colours to output panel #98

Open szczemp opened 1 month ago

szczemp commented 1 month ago

I have TODO Highlight v2 configured for highlight TODO and FIXME in php files. This works well in php files, but in the output panel everything is uncolored. Untitled

My settings.json contains this config:

"todohighlight.keywords": [ { "text": "TODO", "color": "#fff", "selectColor": "#000", "backgroundColor": "rgba(255, 170, 50, .5)", "overviewRulerColor": "#fa3" }, { "text": "FIXME", "color": "#fff", "backgroundColor": "rgba(255, 100, 150, .5)", "overviewRulerColor": "#f69" }, ], "todohighlight.include": [ "/*.js", "*/.jsx", "/*.ts", "/*.tsx", "*/.html", "/*.css", "/*.scss", "*/.php", "/*.rb", "/*.txt", "*/.mdown", "/*.md", "*/.py", "*/.log" ], "todohighlight.defaultStyle": { "isWholeLine": true, },

"todohighlight.keywords": [ { "text": "TODO", "color": "#fff", "selectColor": "#000", "backgroundColor": "rgba(255, 170, 50, .5)", "overviewRulerColor": "#fa3" }, { "text": "FIXME", "color": "#fff", "backgroundColor": "rgba(255, 100, 150, .5)", "overviewRulerColor": "#f69" }, ], "todohighlight.include": [ "**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.html", "**/*.css", "**/*.scss", "**/*.php", "**/*.rb", "**/*.txt", "**/*.mdown", "**/*.md", "**/*.py", "**/*.log" ], "todohighlight.defaultStyle": { "isWholeLine": true, },

jgclark commented 1 month ago

The code (which I inherited) does not apply colouring in the output panel. I'm turning this into a feature request, and marking as one where I would request help from others to help make it happen.

szczemp commented 1 month ago

I thought the colours in output panel is by default and I change something in the configuration. On this gif https://raw.githubusercontent.com/wayou/vscode-todo-highlight/master/assets/list-annotations.gif output panel is colorful.

jgclark commented 3 weeks ago

The settings in your first post aren't clear, but it seems to have two different settings for PHP files, including: "/.php", which almost certainly won't work. Please double-check user and workspace level JSON settings.