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

Wrong highlighting on 'new' keyword on inner classes #228

Open
@Eskibear

Description

@Eskibear

Description

creating a new instance of an inner class doesn't highlight the new keyword properly

inner

Steps to Reproduce

public class Foo {
    public class Bar {
    }
}

public class Main {
    public static void main(String[] args) {
        Foo example1 = new Foo();
        Foo.Bar example2 = example1.new Bar();   // <----
    }
}

Expected behavior:

keyword new is correctly highlighted.

Actual behavior:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions