Bug 77000

Summary: [misc] Extend Mark occurrences to highlight if-else
Product: [Eclipse Project] JDT Reporter: Channing Walton <channingwalton>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: wayne.beaton
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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