Bug 481324 - [Feature Request] [Outline View] Show case statements from current/all switch statement(s).
Summary: [Feature Request] [Outline View] Show case statements from current/all switch...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 09:55 EST by soman namos CLA
Modified: 2020-09-04 15:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soman namos CLA 2015-11-03 09:55:10 EST
Sometimes when you see the huge switch statements with 'case' handlers it is annoying to manually search the certain handler of certain value (Ctrl+F helps only if you remember value's name). It would be good to see all handled values in 'Outline View' and get a fast access to them from there. For example, Outline View can show all cases when our cursor is in the switch or just show all switches in current file with next hierarchy in 'Outline View':  Switches => 'switch (event.getType())' => 'EVENT_SHUTDOWN', 'EVENT_REBOOT', 'EVENT_SLEEP'...