I use a high resolution and it is not always easy to see the difference 
between a brace {} and a bracket (). It would be nice if the editor 
treated these differently when matching and highlighted errors where 
there is an open brace followed by a close bracket (i.e. there is no 
corresponging open bracket) or vice versa.

For example

  public MyMethod() {
  )

The close bracket should be the location of the error. However, 
currently the error appears on whatever is after the bracket such as the 
next method definition. This is often a hard one to find requiring 
examining each bracket/brace to see if it is the culprit. It is more 
complex when the error causes the methods below not to be defined and so 
you get a pile of errors above. When I go to each end brace/bracket with 
the cursor to find the problem, IDEA happily matches the close bracket 
to the open brace. As a minimum it shouldn't match different bracketing 
pairs.

Pete


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to