Skip to main content



      Home
Home » Newcomers » Newcomers » org.eclipse.ui.examples.javaeditor sample
org.eclipse.ui.examples.javaeditor sample [message #248486] Sun, 10 February 2008 09:07 Go to next message
Eclipse UserFriend
Hi,
I am not able to get the content assist or syntax coloring to work as
documented in the "org.eclipse.ui.examples.javaeditor" example.
I am following the instructions that are documented here -
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/samples/org.eclipse.ui.examples.javaeditor/ doc-html/ui_javaeditor_ex.html

Here are the steps I followed:
1) Launched Eclipse 3.3. Clicked on Help | Welcome | Samples | Jave editor.
Followed the prompts to import the "org.eclipse.ui.examples.javaeditor"
plugin into my workspace.

2) Clicked on "run the sample" link in the cheat sheet to launch the
application.

3) Created a new project - File | New Project | Simple | Project.

4) Created a new file - Right click | New | File | "test.jav" under the
project. The java editor opens automatically.

5) When I type in java code, the content assist and syntax coloring does not
work at all.


Am I missing some steps or created the project and file incorrectly?
I have tried this Eclipse 3.1 and Eclipse 3.2 as well, with no success.
Before I spend time debugging, it would help to know if this example works
at all.


Thanks,
-Arvind
Re: org.eclipse.ui.examples.javaeditor sample [message #248547 is a reply to message #248486] Mon, 11 February 2008 09:43 Go to previous message
Eclipse UserFriend
Arvind Parasuram wrote:

>Hi,
>I am not able to get the content assist or syntax coloring to work as
>documented in the "org.eclipse.ui.examples.javaeditor" example.
>I am following the instructions that are documented here -
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/samples/org.eclipse.ui.examples.javaeditor/ doc-html/ui_javaeditor_ex.html
>
>Here are the steps I followed:
>1) Launched Eclipse 3.3. Clicked on Help | Welcome | Samples | Jave editor.
>Followed the prompts to import the "org.eclipse.ui.examples.javaeditor"
>plugin into my workspace.
>
>2) Clicked on "run the sample" link in the cheat sheet to launch the
>application.
>
>3) Created a new project - File | New Project | Simple | Project.
>
>4) Created a new file - Right click | New | File | "test.jav" under the
>project. The java editor opens automatically.
>
>5) When I type in java code, the content assist and syntax coloring does not
>work at all.
>
>
It works for me. Note that the code itself has the same color. Only
comments get different color.

Dani

>
>Am I missing some steps or created the project and file incorrectly?
>I have tried this Eclipse 3.1 and Eclipse 3.2 as well, with no success.
>Before I spend time debugging, it would help to know if this example works
>at all.
>
>
>Thanks,
>-Arvind
>
>
>
>
Previous Topic:Toggle cvs repository
Next Topic:debug a site
Goto Forum:
  


Current Time: Tue Jun 03 10:13:44 EDT 2025

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

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

Back to the top