Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Syntax highlighting is broken with array syntax #227

Closed
Yanpas opened this issue Apr 29, 2020 · 1 comment
Closed

Syntax highlighting is broken with array syntax #227

Yanpas opened this issue Apr 29, 2020 · 1 comment

Comments

@Yanpas
Copy link

Yanpas commented Apr 29, 2020

Prerequisites

I'm using vscode (https://github.com/microsoft/vscode/blob/master/extensions/java/syntaxes/java.tmLanguage.json) and syntax version 2e179ce

Description

Snippet:

        for (int i = 0; i==0;){
            
        }
        String[] aaa = new String[] {
            String.class.toString(),
            "aaaa",
            "bbb",
        };
        for (int i = 0; i==0;){

        }

image

See also redhat-developer/vscode-java#728

@sadikovi
Copy link
Contributor

sadikovi commented Sep 6, 2020

Cannot reproduce on the master branch. This seems to have been fixed by #215, at least, this is what git tells me, thus the version of vscode for which the bug was reported was likely using a different version of language-java package.

@sadikovi sadikovi closed this as completed Sep 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants