Skip to main content



      Home
Home » Newcomers » Newcomers » Why isn't syntax correction kicking in?
Why isn't syntax correction kicking in? [message #268063] Mon, 26 January 2009 10:20 Go to next message
Eclipse UserFriend
Hi,

I'm using Eclipse 3.4 Ganymede on Windows XP. Within a project, I created
a folder and then cut and pasted a .java JUnit file into that folder.
However, as I edit, when various syntax errors come up, there is no red
underline or anything indicating something is wrong. Notice the "bbb" I
typed at the top of here:

http://screencast.com/t/F4w68Fgo

I am not alerted to potential compilation errors of any kind. How do I
enable this setting?

Thanks, - Dave
Re: Why isn't syntax correction kicking in? [message #268070 is a reply to message #268063] Mon, 26 January 2009 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt.gmail.com

Check the following:

* are you running JDK 5 or later?

* do you have JDT installed (eg., Eclipse "Classic" SDK or Ganymede JEE
bundle, among others)?

* is the folder in which you pasted the .java file a source folder, or
just some other type of folder? Right-click the project's root folder
and select properties to add more source folders.

* is the project a Java project? Open the Navigator view then check the
..project file. If it doesn't have the JDT builder & nature, you'll have
to add it.
http://wiki.eclipse.org/IRC_FAQ#How_do_I_manually_assign_a_p roject_Nature_or_BuildCommand.3F

Nick

D. Alvarado wrote:
> Hi,
>
> I'm using Eclipse 3.4 Ganymede on Windows XP. Within a project, I
> created a folder and then cut and pasted a .java JUnit file into that
> folder. However, as I edit, when various syntax errors come up, there
> is no red underline or anything indicating something is wrong. Notice
> the "bbb" I typed at the top of here:
>
> http://screencast.com/t/F4w68Fgo
>
> I am not alerted to potential compilation errors of any kind. How do I
> enable this setting?
>
> Thanks, - Dave
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Why isn't syntax correction kicking in? [message #268083 is a reply to message #268063] Mon, 26 January 2009 14:18 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 1/26/2009 10:20 AM, D. Alvarado wrote:
> Hi,
>
> I'm using Eclipse 3.4 Ganymede on Windows XP. Within a project, I
> created a folder and then cut and pasted a .java JUnit file into that
> folder. However, as I edit, when various syntax errors come up, there is
> no red underline or anything indicating something is wrong. Notice the
> "bbb" I typed at the top of here:
>
> http://screencast.com/t/F4w68Fgo
>
> I am not alerted to potential compilation errors of any kind. How do I
> enable this setting?

You probably need to add the new folder as a source folder. Open the
project's Properties, select Java Build Path, and then the Source tab.
There you can add it as a Source Location.

Hope this helps,
Eric
Previous Topic:HELP: eclipse crashing
Next Topic:Running out of memory when testing plug-in
Goto Forum:
  


Current Time: Tue Jul 15 12:59:51 EDT 2025

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

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

Back to the top