question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflict with Highlight extension?

See original GitHub issue

I’m not sure where the issue is, but I’m trying to use another extension: https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight

And I want to hightlight the word TODO in a comment using this settings:

"highlight.regexes": {
        "(// ?)(TODO:?).*": {
            "filterLanguageRegex": "rust|^C.?.?",
            "decorations": [
                {},
                {
                    "fontWeight": "bold",
                    "overviewRulerColor": "#e5c07b",
                    "color": "#ffffff",
                },
            ],
        },
    },

I got my bold but not my colour (white), it seems to be overridden by syntax-highlighter

Is there a way to define an order in the highlighters?

It used to work with the default syntax highlighter

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Geobertcommented, Jun 26, 2019

it works 😄 Thanks! (had to restart VScode to make it work)

1reaction
EvgeniyPeshkovcommented, May 31, 2019

You’re welcome (=.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File from Explorer doesn't highlight merge conflict when 3-way ...
I'd expect the merge conflict decoration extension to continue to function even if 3wm is enabled.
Read more >
VS Code - Syntax Highlighting Conflict — oracle-tech
When I have the ODT for VS Code extension turned on, it seems to override some of my selected theme's syntax highlighting and...
Read more >
Resolving Merge Conflicts in VSCode with Kaleidoscope's 3 ...
The new Kaleidoscope extension for VSCode allows you to: ... VSCode's built-in merge conflict option can highlight the problematic part, ...
Read more >
MultiHighlighter
MultiHighlighter is a light-weight, yet powerful extension that allows multi-word searching/highlighting on almost any web page and local ...
Read more >
Resolve conflicts with Chrome plug-ins and extensions - 飞书
Note: Here are the conflicting plug-ins and extensions we're aware of: Multi-highlight, Dark Reader, Surfingkeys, Copy Better, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found