atom/language-java

module name and comments not highlighted in module-info.java

Opened this issue · 4 comments

Description

Also reported in redhat-developer/vscode-java#1384
JEP reference about module system: https://openjdk.java.net/jeps/261

image

Expected behavior:

  • com.foo.bar and java.base should be highlighted.
  • comments in Line 4 should be hightlighted.

Versions

it's tested on vscode@1.53.0-insiders, should be latest release of atom/language-java

@sadikovi Can you take a look please? FYI that we might be able to work "module names" around via semantic highlighting. So comments part should have a higher priority if you are short of bandwidth...

I just created a PR against the comments part. please take a look.

Shall we close this issue or is there anything else left to do?

com.foo.bar and java.base should be highlighted.

It would be better if qualified module names can be highlighted.