[ANN] PropertiesEditor Plugin 1.8.1
Description:
Editor for properties files like built-in editors (highlighting, navigation, refactoring, find usages, intentions, properties files specific features, bundle editing mode etc.)
Changes:
PE actions added to editor context menu(wrapped IDEA actions not present here)
Minor improvements and reported bugs fixes
TIA,
Dmitry
Please sign in to leave a comment.
Hi, Dmitry
There is an exception that somehow is not determined to be a plug-in related
but it is (it goes away when I remove pe).
It is on a right click in an XML file.
Error message: Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(301,407),button=3,modifiers=Meta+B
utton3,clickCount=1] on frame0
java.lang.NullPointerException
at com.intellij.openapi.d.a.f.a(f.java:0)
at com.intellij.openapi.d.a.h.a(h.java:56)
at com.intellij.openapi.d.a.h.a(h.java:65)
at com.intellij.openapi.d.a.h.a(h.java:67)
at com.intellij.openapi.d.a.c$b_.show(c$b_.java:21)
at com.intellij.openapi.a.b.a.a$h_.invokePopup(a$h_.java:8)
at com.intellij.util.EditorPopupHandler.a(EditorPopupHandler.java:7)
at
com.intellij.util.EditorPopupHandler.mouseReleased(EditorPopupHandler.java:2
)
at com.intellij.openapi.editor.b.o.c(o.java:418)
at com.intellij.openapi.editor.b.o.access$5900(o.java:268)
at com.intellij.openapi.editor.b.o$bq_.mouseReleased(o$bq_.java:14)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:152)
at com.intellij.ide.t.dispatchEvent(t.java:133)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:10747121.1087159513900.JavaMail.itn@is.intellij.net...
navigation, refactoring, find usages, intentions, properties files specific
features, bundle editing mode etc.)
>
here)
>
Some more stack trace (after right clicking a property in a Java file) and
moving the mouse to the PE menu items:
Error message: Assertion failed: action is null: i=4
group=com.intellij.openapi.actionSystem.DefaultActionGroup@ca671a group
id=PropertiesEditorPopup
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.d.a.h.a(h.java:78)
at com.intellij.openapi.d.a.h.a(h.java:67)
at com.intellij.openapi.d.a.l$c_.menuSelected(l$c_.java:3)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1097)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1190)
at
javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:286)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1257)
at com.intellij.openapi.d.a.l.menuSelectionChanged(l.java:44)
at
javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:8
3)
at
javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuU
I.java:388)
at java.awt.Component.processMouseEvent(Component.java:5109)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3323)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3180)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:152)
at com.intellij.ide.t.dispatchEvent(t.java:133)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
If I don't mark the property (i.e. right click with no selection), I also
get a similar exception.
Regards,
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:10747121.1087159513900.JavaMail.itn@is.intellij.net...
navigation, refactoring, find usages, intentions, properties files specific
features, bundle editing mode etc.)
>
here)
>
Well, I regret to say that there are many exceptions flying around.
There seems to be something cardinally wrong, my guess is that you have
tested it with a build other than 2111 and that may be the source of the
problem.
On a different subject, do you know the Lomo camera? It used to be a cheap
Russian camera for the masses but now it costs a rediculous 100-200$ so I'm
trying to get a hold of one for chearp...
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:10747121.1087159513900.JavaMail.itn@is.intellij.net...
navigation, refactoring, find usages, intentions, properties files specific
features, bundle editing mode etc.)
>
here)
>
Hi Amnon,
Is exceptions only in menus? Or in other places too? As temporary workaround you can repackage plugin and edit plugin.xml to remove editor popup menu definition.
Actually I'm still not have access to latest Pallada's and my development pltform still Aurora :( And not have much time to full testing too.
TIA,
Dmitry
Yes, CtrlAltF7 causes it too, and I have to close IJ as the exceptions are
perpetual.
Can I help in any way with getting Pallada to you?
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:2904130.1087196779529.JavaMail.itn@is.intellij.net...
workaround you can repackage plugin and edit plugin.xml to remove editor
popup menu definition.
>
pltform still Aurora :( And not have much time to full testing too.
>
With build #2111 :
when right clicking while in a properties file and trying to go to the
properties editor menuitem :
Error message: Assertion failed: action is null: i=4
group=com.intellij.openapi.actionSystem.DefaultActionGroup@5f00f9 group
id=PropertiesEditorPopup
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.d.a.h.a(h.java:78)
at com.intellij.openapi.d.a.h.a(h.java:67)
at com.intellij.openapi.d.a.l$c_.menuSelected(l$c_.java:3)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1097)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1190)
at
javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:286)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1257)
at com.intellij.openapi.d.a.l.menuSelectionChanged(l.java:44)
at
javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:83)
at
javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:388)
at java.awt.Component.processMouseEvent(Component.java:5109)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3323)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3180)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:152)
at com.intellij.ide.t.dispatchEvent(t.java:133)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
when tyring the same thing but in a Java source :
Error message: Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(631,445),button=3,modifiers=Méta+Button3,clickCount=1]
on frame0
java.lang.NullPointerException
at com.intellij.openapi.d.a.f.a(f.java:0)
at com.intellij.openapi.d.a.h.a(h.java:56)
at com.intellij.openapi.d.a.h.a(h.java:65)
at com.intellij.openapi.d.a.h.a(h.java:67)
at com.intellij.openapi.d.a.c$b_.show(c$b_.java:21)
at com.intellij.openapi.a.b.a.a$h_.invokePopup(a$h_.java:8)
at com.intellij.util.EditorPopupHandler.a(EditorPopupHandler.java:7)
at
com.intellij.util.EditorPopupHandler.mouseReleased(EditorPopupHandler.java:2)
at com.intellij.openapi.editor.b.o.c(o.java:418)
at com.intellij.openapi.editor.b.o.access$5900(o.java:268)
at com.intellij.openapi.editor.b.o$bq_.mouseReleased(o$bq_.java:14)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.t.b(t.java:45)
at com.intellij.ide.t.a(t.java:152)
at com.intellij.ide.t.dispatchEvent(t.java:133)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Dmitry Kashin wrote:
Hi, Dmitry.
Thank you for the great plugin!
Is it possible (reasonable) to move properties tree (with list of files
section) to "Structure" pane?
IMHO, it shows the best correlation with IDEA's ideology.
Thanks,
Varrey.
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:10747121.1087159513900.JavaMail.itn@is.intellij.net...
navigation, refactoring, find usages, intentions, properties files specific
features, bundle editing mode etc.)
>
here)
>
Hi,
Pallada issues seems fixed(at least 2072) in 1.8.1a. All this exceptions was due no class found exception, but it was hidded so deep... :(
TIA,
Dmitry