Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Syntax highlighting and search sometimes does not work on plugin classes
Syntax highlighting and search sometimes does not work on plugin classes [message #253795] Tue, 10 June 2008 04:26 Go to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
This just happened to me:

1) Added the org.eclipse.ui.editors as a plugin dependency
2) Did a find type to find IAbstractTestEditorHelpContstantIds
3) It opened in the editor and the syntax highlighting did not include
the fields (i.e. they were not blue), however the comments and java
syntax (e.g. public interface) were properly colored.
4) I tried to right-click on a field and do a search for references and
it a dialog that said "The operation is unavailable on the current
selection. Please select a valid Java element name".

I run into this every now and then on various classes.

I'm pretty sure this is a user error on my part, but I don't know what
to do to have the object loaded such that it is really treated like a
full java file.

TIA,

Francis


Re: Syntax highlighting and search sometimes does not work on plugin classes [message #253828 is a reply to message #253795] Tue, 10 June 2008 15:46 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Francis Upton (News) wrote:
> This just happened to me:
>
> 1) Added the org.eclipse.ui.editors as a plugin dependency
> 2) Did a find type to find IAbstractTestEditorHelpContstantIds
> 3) It opened in the editor and the syntax highlighting did not include
> the fields (i.e. they were not blue), however the comments and java
> syntax (e.g. public interface) were properly colored.
> 4) I tried to right-click on a field and do a search for references
> and it a dialog that said "The operation is unavailable on the current
> selection. Please select a valid Java element name".
>
> I run into this every now and then on various classes.
>
> I'm pretty sure this is a user error on my part, but I don't know what
> to do to have the object loaded such that it is really treated like a
> full java file.
You're probably burned by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=73957.

Dani
>
> TIA,
>
> Francis
Previous Topic:Create markers from Javadoc tags
Next Topic:Formatter preference name for empty line between created fields
Goto Forum:
  


Current Time: Sat Jul 27 20:28:46 GMT 2024

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

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

Back to the top