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

First segment of Java package namespace is not highlighted #1388

Closed
mojavelinux opened this issue Jan 14, 2020 · 1 comment · Fixed by #1389
Closed

First segment of Java package namespace is not highlighted #1388

mojavelinux opened this issue Jan 14, 2020 · 1 comment · Fixed by #1389
Assignees
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@mojavelinux
Copy link
Contributor

Lexer: Java

Sample code:

package com.example;

public class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

Screenshot:

java-lexer-bug

Additional details:

It doesn't matter what the first segment of the package namespace is named (e.g., com, org, io, etc), or how many segments are in the namespace, the first segment isn't highlighted using the same color as the remaining segments.

I would expect all the segments in the namespace to be highlighted in the same color (as is the case for import statements).

@mojavelinux mojavelinux added the bugfix-request A request for a bugfix to be developed. label Jan 14, 2020
@mojavelinux mojavelinux changed the title First segment of package namespace is not highlighted First segment of Java package namespace is not highlighted Jan 14, 2020
@pyrmont pyrmont self-assigned this Jan 14, 2020
@pyrmont
Copy link
Contributor

pyrmont commented Jan 14, 2020

@mojavelinux Definitely looks broken. Will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants