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

add highlighting for auth:*** #8

Open
KoljaL opened this issue Oct 27, 2023 · 0 comments · May be fixed by #12
Open

add highlighting for auth:*** #8

KoljaL opened this issue Oct 27, 2023 · 0 comments · May be fixed by #12

Comments

@KoljaL
Copy link

KoljaL commented Oct 27, 2023

In VSCode there is no highlighting for the auth: elements.

See auth: bearer in the image:

grafik

I tried to figure out, how to add this, but this is not enough:

"auth-basic-block": {
    "name": "meta.auth-basic.bruno",
    "begin": "^auth\\:basic\\s*\\{",
    "end": "^\\}\\s*",
    "beginCaptures": {
        "0": {
            "name": "keyword.bruno"
        }
    },
    "patterns": [{ "include": "#dictionary" }]
},

It just matches (auth:baerer)the outer part and the inner part stays white, because there is no value (password).

Thanks for Brunoand this extension :-)

marfranke added a commit to marfranke/bruno-ide-extensions that referenced this issue May 6, 2024
marfranke added a commit to marfranke/bruno-ide-extensions that referenced this issue May 6, 2024
@marfranke marfranke linked a pull request May 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant