Bug 77000 - [misc] Extend Mark occurrences to highlight if-else
Summary: [misc] Extend Mark occurrences to highlight if-else
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 06:23 EDT by Channing Walton CLA
Modified: 2014-02-28 09:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Channing Walton CLA 2004-10-26 06:23:52 EDT
I would find it useful when confronted with monster nested if-else blocks to be
able to put my cursor on an 'if' or 'else' and for the corresponding ifs and
elses to be highlighted.

e.g.

if (..) {
} else {
  if () {
  } else if () {
  } else {
  }
}

putting the cursor on the first if would highlight the first else, putting the
cursor on the nested if would highlight the nested 'else if' and else.

Channing
Comment 1 Dani Megert CLA 2004-11-01 11:34:35 EST
good idea