Eclipse behavior

From: javalpha (javalpha_at_yahoo.com)
Date: 08/18/04

  • Next message: Joe Fischer: "Re: Eclipse 3.0 is huge"
    Date: 17 Aug 2004 17:36:30 -0700
    
    

    Hi,
       When typing Java source in eclipse in the Java perspective, the
    editor highlights syntax mistakes as one goes along. So, if one is in
    the middle of a statement, many words in that stamenet get red-lined,
    which is quite distracting.

    One would think the editor/parser combo would be able to figure out
    that, when the cursor is in a certain portion of a parse tree (or AST,
    whatever), the highlighting must be suppressed for that portion of the
    parse tree, and re-enabled when the cursor leaves the subtree. For
    example, if I am in the middle of an assignment statement within a
    "while" block, like:
        while ( condition ) {
            Int i = new Int( 3 );
            b = <!-- cursor here>
        
    the mistakes in "Int i = ..." must be highlighted, while the
    incomplete "b = " must be ignored and the mismatched braces for the
    while block must also be ignored.

    Is there any Eclipse configuration parameter to do this? Is this
    feature even available in Eclipse?


  • Next message: Joe Fischer: "Re: Eclipse 3.0 is huge"

    Relevant Pages

    • Re: allocate array during run-time
      ... Eclipse ... highlights the reason as such ... ... Syntax error on token "]", ...
      (comp.lang.java.programmer)
    • Eclipse vs. Netbeans
      ... using NetBeans for several weeks now and after everybody's talking ... about Eclipse I tried to work with it for the last days. ... You can collapse source code in NetBeans, ... So please can anybody show me the highlights of Eclipse? ...
      (comp.lang.java.softwaretools)