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

Provide more hover info in certain cases #1049

Closed
vasiltabakov opened this issue May 19, 2019 · 1 comment · Fixed by #1058
Closed

Provide more hover info in certain cases #1049

vasiltabakov opened this issue May 19, 2019 · 1 comment · Fixed by #1058
Assignees
Milestone

Comments

@vasiltabakov
Copy link

Hovering "OK" shows the type and name of the constant:
electron_2019-05-19_19-12-02

It would be much better if it also showed its value, the definition of the constant in this case is as follows:
public static final int OK = 0;

so it would be much better if the tooltip showed:
int OK = 0

at least for primitive types and maybe for strings which could get truncated if too long.

@fbricon
Copy link
Contributor

fbricon commented May 25, 2019

Indeed, JDT UI supports that feature https://www.eclipse.org/eclipse/news/4.11/jdt.php#default-constant-values
Hopefully it should be easy to implement

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

Successfully merging a pull request may close this issue.

3 participants