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

highlight QualifiedName together in packages #1435

Merged
merged 1 commit into from
May 6, 2020

Conversation

Eskibear
Copy link
Contributor

@Eskibear Eskibear commented May 6, 2020

A fix for redhat-developer/vscode-java#1434

Instead of highlighting each segment (SimpleName), the full qualified name of a package is highlighted together, e.g "java.util".

Behavior changes:

Previous

import java(namespace).util(namespace).List(type);

3 tokens. So the dot between "java" and "util" is not highlighted as namespace.

Now

import java.util(namespace).List(type);

2 tokens. dots within the full qualified name are also highlighted.

@fbricon fbricon merged commit 0d3561a into eclipse-jdtls:master May 6, 2020
@fbricon
Copy link
Contributor

fbricon commented May 6, 2020

Nice work @Eskibear, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants