Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying colours to output panel #98

Open
szczemp opened this issue Oct 6, 2024 · 3 comments
Open

Applying colours to output panel #98

szczemp opened this issue Oct 6, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@szczemp
Copy link

szczemp commented Oct 6, 2024

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
Copy link
Owner

jgclark commented Oct 6, 2024

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.

@jgclark jgclark added enhancement New feature or request help wanted Extra attention is needed labels Oct 6, 2024
@jgclark jgclark changed the title How to applay colours to output panel? Applying colours to output panel Oct 6, 2024
@szczemp
Copy link
Author

szczemp commented Oct 7, 2024

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
Copy link
Owner

jgclark commented Nov 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants