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

Java import directives shown with package names as keywords #41

Open
aeschli opened this issue Feb 22, 2016 · 1 comment
Open

Java import directives shown with package names as keywords #41

aeschli opened this issue Feb 22, 2016 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Feb 22, 2016

From @dgolub on February 12, 2016 22:22

When editing Java in Visual Studio Code, import directives are shown with the package names in blue as if they were keywords. They should be shown in black because they are identifiers.

Copied from original issue: microsoft/vscode#2987

@aeschli
Copy link
Author

aeschli commented Feb 22, 2016

The Java tokenizer marks the import identifiers with the scope storage.modifier. It does the same for modifiers like private and public which we want to be marked as keywords.

We are using the tokenizer from https://github.com/textmate/java.tmbundle. A change request would have to be made there.

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

No branches or pull requests

1 participant