Replies: 1 comment 4 replies
-
Yeah this would be really handy actually. Since the extension uses a language server based on Eclipse libraries, many features in the Eclipse IDE are fairly straightforward to port. I looked into this one, and it seems pretty simple, so I might submit a PR to implement this when I have time. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some IDEs like Eclipse provide a feature I find pretty handy and which I would love to see in VS Code:
If I click on a method's return type declaration, the IDE highlights any exit point in the according method body. This includes all
return
statements,throw
statements, and method calls that could throw an unchecked exception.In addition clicking on the
return
keyword highlights all other exit points inside the same method.Currently, if I click on the return type declaration in VS Code it highlights every occurrence of that type name within the same file, which I don't find that useful.
Are there any plans to implement this? Or is the current behavior intended by design and should not change?
Thanks!
P.S.: You do a great job improving Java support in VS Code. Really appreciate it!
Beta Was this translation helpful? Give feedback.
All reactions