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

Highlight the file name in the explorer? #150

Open
hepcat72 opened this issue Jan 16, 2025 · 1 comment
Open

Highlight the file name in the explorer? #150

hepcat72 opened this issue Jan 16, 2025 · 1 comment

Comments

@hepcat72
Copy link

I was just creating a rule to find commented tests after a refactor (ignoring TODOs). Really useful.

        "(\\s*#[^#](?!TODO).*\\n\\s*#[^#](?!TODO).*\\n)": {
            // Highlight chuncks of comments (to highlight commented python code)
            "filterFileRegex": ".*(?<!.md|.json|.html|.yaml|.tsv)$",
            // "filterLanguageRegex": "javascriptreact",
            "decorations": [
                {
                    "overviewRulerColor": "#296b36",
                    "backgroundColor": "#296b3693",
                    // "color": "#1f1f1f",
                    "fontWeight": "bold"
                },
            ]
        }

I imagine it would not be possible to highlight file names so I don't have to open each one? maybe even increase opacity based on number of matching lines?

@fabiospampinato
Copy link
Owner

fabiospampinato commented Jan 17, 2025

As far as I know there aree no APIs for this. If they were implemented they could enable some cool extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants