I also would like to report the same crash mentioned in the previous post. For me IH always crashes when I hover mouse pointer over "@Override" annotation placed before implemented from interface method. Such annotation is inappropriate for implemented methods and IDEA complains about it. And that somehow result in IH crashes.
Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1@d6af03,notifier=null,catchExceptions=false,when=1232643924515] on sun.awt.windows.WToolkit@7c9586
java.lang.NullPointerException
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:293)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.handleCaretPositionChanged(IdentifierHighlighterEditorComponent.java:189)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1.run(IdentifierHighlighterEditorComponent.java:74)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Identifier Highlighter interferes with the context menu in the editor window of IntelliJ. I.e. when I have the plugin installed, I don't get a context menu anymore. Not even when I disable the plugin via it's own global config setting. I'm using IntelliJ IDEA 8.1 (Build 9732) and the latest version of Identifier Highlighter (3.47).
I just tried your fantastic IDEA plugin and I have a little suggestion:
If the cursor is placed on the right side of a class, method or attribute name the subject should be highlighted also. This would be extremely useful on writing new expressions.
Example:
int i = 1;
// other code
int j = 42 * i<CURSOR>
According to my suggestion the 'i' should be highlighted in the example above (currently it is not).
There's a problem with the newest IntelliJ build and Identifier Highlighter.
final FieldSet visitingFieldSet = new FieldSet();
visitingFieldSet.setLayout(new FormLayout());
visitingFieldSet.setCollapsible(true);
visitingFieldSet.setHeading(constants.gui_reportContactAbroad_visitingFieldSet());
In the code above, if the cursor is in the middle of the visitingFieldSet-identifier in the last line, only occurrence on the first line is highlighted. The two lines in between is not rendered in any way. I'm sure the plugin usually highlights all occurencies?
In IntelliJ9, in settings, under editor, I enabled "Highlight usages of element at caret", but in the text itself the usages aren't highlight (they are in the scrollbar, but I 'd like to get them highlighted in the text too). Can this be done?
15 Comments
comments.show.hideJan 22, 2009
Anonymous
I also would like to report the same crash mentioned in the previous post. For me IH always crashes when I hover mouse pointer over "@Override" annotation placed before implemented from interface method. Such annotation is inappropriate for implemented methods and IDEA complains about it. And that somehow result in IH crashes.
Jan 22, 2009
Anonymous
I meant crash with this stack trace
Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1@d6af03,notifier=null,catchExceptions=false,when=1232643924515] on sun.awt.windows.WToolkit@7c9586
java.lang.NullPointerException
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:293)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:302)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.handleCaretPositionChanged(IdentifierHighlighterEditorComponent.java:189)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1.run(IdentifierHighlighterEditorComponent.java:74)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Feb 18, 2009
Anonymous
This bug will be fixed in the next version!
Apr 17, 2009
Anonymous
Identifier Highlighter interferes with the context menu in the editor window of IntelliJ. I.e. when I have the plugin installed, I don't get a context menu anymore. Not even when I disable the plugin via it's own global config setting. I'm using IntelliJ IDEA 8.1 (Build 9732) and the latest version of Identifier Highlighter (3.47).
The idea.log shows the following stacktrace:
Jun 26, 2009
Anonymous
I just tried your fantastic IDEA plugin and I have a little suggestion:
If the cursor is placed on the right side of a class, method or attribute name the subject should be highlighted also. This would be extremely useful on writing new expressions.
Example:
int i = 1;
// other code
int j = 42 * i<CURSOR>
According to my suggestion the 'i' should be highlighted in the example above (currently it is not).
Thanks for this great work!
Oliver
Aug 13, 2009
Jesper Thuun-Petersen
There's a problem with the newest IntelliJ build and Identifier Highlighter.
final FieldSet visitingFieldSet = new FieldSet();
visitingFieldSet.setLayout(new FormLayout());
visitingFieldSet.setCollapsible(true);
visitingFieldSet.setHeading(constants.gui_reportContactAbroad_visitingFieldSet());
In the code above, if the cursor is in the middle of the visitingFieldSet-identifier in the last line, only occurrence on the first line is highlighted. The two lines in between is not rendered in any way. I'm sure the plugin usually highlights all occurencies?
Nov 10, 2009
Anonymous
The latest release 3.62 of the Identifier Highlighter does not work properly with IntelliJ Idea 7.0.2.
Not all instances of an identifier get highlighted. Only the declaration and one selected usage are highlighted.
Nov 18, 2009
Anonymous
The latest release 3.62 of the Identifier Highlighter does not work properly with IntelliJ Idea 8.0.4. too. The same problem appears.
Nov 23, 2009
Anonymous
Identifying all occurrences it's meanly the only interesting feature of this plug-in...
Is there any way to make it working on 8.1.4 ?
Dec 01, 2009
Anonymous
Finally, I could make the version 7160 working on IntelliJ 8.1.4.
Just download the zip from [http://plugins.intellij.net/plugin/?id=1236] and I replace the plugin folder in <user_home>.IntelliJIdea80/config/plugins/
Dec 11, 2009
Anonymous
It seems that the version 3.62 [latest one] it is not working in IDEA9 beta. Any tips ?
Dec 14, 2009
Jesper Thuun-Petersen
The plugin is no longer necessary in IntelliJ 9, as highlighting is now part of the core IDE.
Jan 03, 2010
Anonymous
In IntelliJ9, in settings, under editor, I enabled "Highlight usages of element at caret", but in the text itself the usages aren't highlight (they are in the scrollbar, but I 'd like to get them highlighted in the text too). Can this be done?
Jul 25, 2010
Anonymous
This plugin is much better than Idea OOB feature. It has much faster response, configurable coloring.
Hope this project won't die...
Oct 28, 2011
Alexey Zhukov
Please, update the plugin to make it work in Nika without exceptions! (idea 11)