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

Method call parameters and casts unexpectedly coloured #18

Open
kiwiant opened this issue Sep 7, 2022 · 1 comment
Open

Method call parameters and casts unexpectedly coloured #18

kiwiant opened this issue Sep 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kiwiant
Copy link

kiwiant commented Sep 7, 2022

Describe the bug
Curley braces working well but the colours also apply to items in C# such as casts and method calls. Maybe by design but my preference would be to exclude (perhaps Enhancement rather than Bug).

To Reproduce
The following statements show orange for the method calls and red for the int cast:
var item = await GetSingleAsync((int)id, cancellationToken).ConfigureAwait(false);

Other examples include class and method attributes including their parameters, and interpolated strings:

[HttpGet]
[Route("/register")]
$"{firstName} {lastName}";

Expected behavior
Use the default colour for curly braces and related brackets if not used for code blocks.

Screenshot 2022-09-07 095721

PS: Loving this extension and working well with Dark+ theme.

@kiwiant kiwiant added the bug Something isn't working label Sep 7, 2022
@madskristensen madskristensen added enhancement New feature or request and removed bug Something isn't working labels Sep 7, 2022
@austinstanding
Copy link

I've likewise noticed colorization of brackets for array declarations:

Object[] arrayVariable;

A low priority to be sure, I'm excited to see this coming together.

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

No branches or pull requests

3 participants