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

C# for loop without initializer section breaks color highlighting #299

Closed
Apostolique opened this issue Dec 10, 2023 · 0 comments · Fixed by #300
Closed

C# for loop without initializer section breaks color highlighting #299

Apostolique opened this issue Dec 10, 2023 · 0 comments · Fixed by #300

Comments

@Apostolique
Copy link

Details

What editor are you seeing the problem in?
Visual Studio Code

What version of the editor are you using?
1.85.0

What color theme are you using?
Dark+
AposTheme

Repro

private void Hello1(int num) {
    Console.WriteLine($"Hello World!");
}

private void SuperLoop() {
    int i = 0;
    for (; i < 10; i++) {
        // Some code
    }
}
private void Hello2(int num) {
    Console.WriteLine($"Hello World!");
}

Dark+:
image

AposTheme:
image

With the initializer section:
image

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