Bug 538829 - [misc] Mark Occurrences: mark exits from block statements
Summary: [misc] Mark Occurrences: mark exits from block statements
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.9   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-08 16:42 EDT by Stephan Herrmann CLA
Modified: 2018-09-08 16:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2018-09-08 16:42:48 EDT
I'd like to combine two existing concepts:

When selecting a 'break' statement, the enclosing block statement being broken from is highlighted together with its closing brace.

When selecting the return type or 'void' in a method declaration, all exits from that method are hightlighted.

So, when selecting keywords 'while', 'switch' etc. it would be cool if all possible exits where highlighted, including 'break', 'return', 'continue outerLabel' and locations where exceptions are known to be thrown.