[ANN] PropertiesEditor Plugin 1.5

Changes

  • Selected in structure tree key status visualization for bundle mode(under the tree)

  • View all key values in bundle(Shift+F4 in editor on key)

  • Exact next/previous not fully translated propery navigation in tree(CtrlF2/CtrlShift+F2)

  • Major improvements and bug fixes


TIA,
Dmitry

4 comments
Comment actions Permalink

I've just installed this version of the plugin and found a number of problems. I don't know if they come from
the IDEA version I use (build 2008) or from the plugin itself.

1. NPE if I select a tree node if I have opened a property file which has no other languages.

Error message: Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(107,382),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on frame0
java.lang.NullPointerException
at com.propertiesEditor.propedit.controller.PropertiesFileEditor.keyChanged(PropertiesFileEditor.java:347)
at com.propertiesEditor.propedit.view.ResourceKeysTree.notifyListeners(ResourceKeysTree.java:118)
at com.propertiesEditor.propedit.view.ResourceKeysTree.fireKeyChanged(ResourceKeysTree.java:111)
at com.propertiesEditor.propedit.view.ResourceKeysTree.notifyPathSelection(ResourceKeysTree.java:357)
at com.propertiesEditor.propedit.view.ResourceKeysTree.access$000(ResourceKeysTree.java:30)
at com.propertiesEditor.propedit.view.ResourceKeysTree$2.valueChanged(ResourceKeysTree.java:69)
at javax.swing.JTree.fireValueChanged(JTree.java:2392)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1168)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2192)
at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2840)
at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2801)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5097)
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:3195)
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.p.b(p.java:38)
at com.intellij.ide.p.a(p.java:92)
at com.intellij.ide.p.dispatchEvent(p.java:134)
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)

2. The names in the list which contains all files of the resource bundle are changing color depending on
what I selected in the tree above. (Probably the renderer is not reseted correctly.)

Thanks,
Stefan.

Dmitry Kashin wrote:

Changes

  • Selected in structure tree key status visualization for bundle mode(under the tree)

  • View all key values in bundle(Shift+F4 in editor on key)

  • Exact next/previous not fully translated propery navigation in tree(CtrlF2/CtrlShift+F2)

  • Major improvements and bug fixes


TIA,
Dmitry

0
Comment actions Permalink

I forgot:

3. Changing the settings doesn't work for already open files.

Thanks,
Stefan.

Stefan Stiller wrote:

I've just installed this version of the plugin and found a number of
problems. I don't know if they come from
the IDEA version I use (build 2008) or from the plugin itself.

1. NPE if I select a tree node if I have opened a property file which
has no other languages.

Error message: Error during dispatching of
java.awt.event.MouseEvent[MOUSE_PRESSED,(107,382),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1]
on frame0
java.lang.NullPointerException
at
com.propertiesEditor.propedit.controller.PropertiesFileEditor.keyChanged(PropertiesFileEditor.java:347)

at
com.propertiesEditor.propedit.view.ResourceKeysTree.notifyListeners(ResourceKeysTree.java:118)

at
com.propertiesEditor.propedit.view.ResourceKeysTree.fireKeyChanged(ResourceKeysTree.java:111)

at
com.propertiesEditor.propedit.view.ResourceKeysTree.notifyPathSelection(ResourceKeysTree.java:357)

at
com.propertiesEditor.propedit.view.ResourceKeysTree.access$000(ResourceKeysTree.java:30)

at
com.propertiesEditor.propedit.view.ResourceKeysTree$2.valueChanged(ResourceKeysTree.java:69)

at javax.swing.JTree.fireValueChanged(JTree.java:2392)
at
javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
at
javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)

at
javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)

at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)

at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)

at javax.swing.JTree.setSelectionPath(JTree.java:1168)
at
javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2192)

at
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2840)

at
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2801)

at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5097)
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:3195)
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.p.b(p.java:38)
at com.intellij.ide.p.a(p.java:92)
at com.intellij.ide.p.dispatchEvent(p.java:134)
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)

2. The names in the list which contains all files of the resource bundle
are changing color depending on
what I selected in the tree above. (Probably the renderer is not
reseted correctly.)

Thanks,
Stefan.

Dmitry Kashin wrote:

>> Changes
>>
>> * Selected in structure tree key status visualization for bundle
>> mode(under the tree)
>> * View all key values in bundle(Shift+F4 in editor on key)
>> * Exact next/previous not fully translated propery navigation in
>> tree(CtrlF2/CtrlShift+F2)
>> * Major improvements and bug fixes
>>
>> TIA,
>> Dmitry

0
Comment actions Permalink

Hi,
Thanks for report:
1. I'll try to fix NPE ASAP.
2. Color of the list displays state of current selected key (grey - key not exists in any file, red - key missed in this file, black - key present in this file). Or you mean something else?
3. I'll address to fix this issue.

TIA,
Dmitry

0
Comment actions Permalink

Hi,

2. If this is the reason then everything works fine.

Thanks,
Stefan.

Dmitry Kashin wrote:

Hi,
Thanks for report:
1. I'll try to fix NPE ASAP.
2. Color of the list displays state of current selected key (grey - key not exists in any file, red - key missed in this file, black - key present in this file). Or you mean something else?
3. I'll address to fix this issue.

TIA,
Dmitry

0

Please sign in to leave a comment.