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

Syntax highlighting for plz paths #31

Open
nmpowell opened this issue Feb 2, 2022 · 3 comments
Open

Syntax highlighting for plz paths #31

nmpowell opened this issue Feb 2, 2022 · 3 comments

Comments

@nmpowell
Copy link

nmpowell commented Feb 2, 2022

Would it be possible to provide syntax highlighting for Please paths, such as //path/to:target, such that the text is highlighted or coloured?

It's possible for Markdown with textMateRules e.g. in settings.json:

"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "heading.1.markdown entity.name.section.markdown, heading.1.markdown punctuation.definition.heading.markdown",
                "settings": {
                    "foreground": "#CD4158",
                    "fontStyle": "bold"
                }
            }
        ]
}
@Tatskaari
Copy link
Member

Seems reasonable. If I add it to intellij, then @tiagovtristao has to add it here ;P

@tiagovtristao
Copy link
Contributor

Yeah, I don't see why not.

@Tatskaari I might do it faster, so you will have to add it there :-)

@nmpowell
Copy link
Author

nmpowell commented Feb 3, 2022

Great! Would it then be possible to customise this, like the above Markdown snippet in settings.json?

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

3 participants