Eclipse behavior
From: javalpha (javalpha_at_yahoo.com)
Date: 08/18/04
- Previous message: Dave Stallard: "Eclipse 3.0 is huge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message: Dave Stallard: "Eclipse 3.0 is huge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|