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

[Feature request] Parenthesis matching within quoted strings #526

Open
asdkant-bf opened this issue May 8, 2023 · 1 comment
Open

[Feature request] Parenthesis matching within quoted strings #526

asdkant-bf opened this issue May 8, 2023 · 1 comment

Comments

@asdkant-bf
Copy link

My particular case is for the condition values, but I'm sure there are other cases where this makes sens

I have this condition in a task in a pipeline I'm working on:

or
(
    eq('${{parameters.Environment}}', 'dev'),
    eq('${{parameters.Environment}}', 'qa'), 
    eq('${{parameters.Environment}}', 'staging'), 
    and
    (
        eq('${{parameters.Environment}}', 'production'),
        eq('${{parameters.BundleAndroid}}', false)
    )
)

I could write that in a more compact fashion... but without some kind of syntax highlight it becomes very hard to read, and parenthesis matching (if I put the cursor on one parenthesis, it shows me where the matching one is) would help a lot when going through these kinds of condition strings.

Additionally, (tho not really in the scope of this issue) it'd be nice to have some syntax highlight for the ${{ }} expressions, and some intellisense on the expression functions

@LiliaSabitova
Copy link

Hi @asdkant-bf, thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.

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

No branches or pull requests

2 participants