Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Compile Time Error Detection(Eclipse Compile Time Error Detection)
Eclipse Compile Time Error Detection [message #645745] Mon, 20 December 2010 11:24 Go to next message
Jose  is currently offline Jose
Messages: 6
Registered: February 2010
Location: Nice, France
Junior Member

Hi There,
A simple to answer question probably,

How does eclipse editor detects(shows red lines) errors immediately we type something wrong. Even though I don't compile the code it shows the errors. Does it do some regex eval or some background compilation?

It will be great if you can provide some idea or some reads.

Thanks,
Jose John
Re: Eclipse Compile Time Error Detection [message #645764 is a reply to message #645745] Mon, 20 December 2010 13:25 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 20.12.2010 12:24, Jose wrote:
> Hi There,
> A simple to answer question probably,
>
> How does eclipse editor detects(shows red lines) errors immediately we
> type something wrong. Even though I don't compile the code it shows
> the errors. Does it do some regex eval or some background compilation?
>
> It will be great if you can provide some idea or some reads.
The model is updated when the underlying document changes. This is
called "reconcile" (see
org.eclipse.jdt.core.ICompilationUnit.reconcile(i*) for details) and
also reports problems that get detected while updating the model. The
Java editor does this in a background thread

Dani
>
> Thanks,
> Jose John
Previous Topic:Globalization of manifest file
Next Topic:RCP in MacOS cannot create persistent projects?
Goto Forum:
  


Current Time: Tue Sep 23 04:32:03 GMT 2014

Powered by FUDForum. Page generated in 0.01881 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software