Skip to main content



      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 00:26 Go to next message
Eclipse UserFriend
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 11:46 Go to previous message
Eclipse UserFriend
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: Tue May 13 06:34:32 EDT 2025

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

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

Back to the top