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

Improve occurrences highlighting #2211

Closed
0dinD opened this issue Nov 14, 2021 · 0 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#1941
Closed

Improve occurrences highlighting #2211

0dinD opened this issue Nov 14, 2021 · 0 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#1941

Comments

@0dinD
Copy link
Contributor

0dinD commented Nov 14, 2021

See also: #2193

The extension currently supports highlighting occurrences, but it's limited to symbols like classes, variables and methods. There are a number of additional occurrences which could be useful to provide highlights for, such as:

  • Method exit points (return and throw statements, method calls that may throw uncaught exceptions)

highlight-method-exits

  • Exceptions thrown in a method

highlight-exception-occurrences

  • Target for break and continue statements

highlight-break-continue-target

  • Implementations and overrides for a superclass/interface

highlight-implement-occurrences

These are all supported by the Eclipse IDE, for example.

Environment
  • Java extension version: 1.0.0
Additional Information

I will submit a PR with an implementation for this shortly.

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

Successfully merging a pull request may close this issue.

1 participant