[ANN] PropertiesEditor Plugin 1.9.3 (for Irida only)

Description:
Editor for properties files like built-in editors (highlighting, navigation, refactoring, find usages, intentions, properties files specific features, bundle editing mode etc.)

Changes:

  • Externalize string action (CtrlShiftE works java files too based on caret position and don't handles selection of multiple objects correctly)

  • Externalize string dialog improvements(remember last used template, check before proceed, keys duplication highlighting)

  • Initial(on startup) parse speed improvement

  • Large files editing speed improvement

  • Major improvements and reported bugs fixes


For all speed improvements great THANKS to YourKit Java Profiler and its creators. After first evaluation couple of
month ago huge memory leaks was fixed, now second evaluation was used to improve speed.

TIA,
Dmitry

9 comments
Comment actions Permalink

Getting this exception again:

Error message: Assertion failed: cannot share data context between Swing events; initial event count = 1866374; current event count = 1866806
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)

at com.intellij.ide.impl.DataManagerImpl$b_.getData(DataManagerImpl$b_.java:5)

at com.intellij.codeInsight.f.c.q$d_.executeWriteAction(q$d_.java:11)

at com.propertiesEditor.propedit.autocomplete.action.MyEnterHandler.executeWriteAction(MyEnterHandler.java:26)

at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:39)

at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:417)

at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:23)

at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)

at com.intellij.openapi.command.a.a.executeCommand(a.java:100)

at com.intellij.openapi.command.a.a.executeCommand(a.java:68)

at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)

at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)

at com.intellij.openapi.keymap.a.e.a(e.java:74)

at com.intellij.openapi.keymap.a.e.b(e.java:103)

at com.intellij.openapi.keymap.a.e.a(e.java:123)

at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:1)

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)

0
Comment actions Permalink

I'm not sure that I can fix this problem.

0
Comment actions Permalink

It seems to be fixed with the new Irida build

Dmitry Kashin wrote:

I'm not sure that I can fix this problem.


--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0
Comment actions Permalink

Dmitry


I've just started experiencing some funny - strange, not "haha" - plugin
collision, between your PE and my miniWiki.
Somehow, it seems related to my plugin intercepting the "RenameElement"
action.

I suspect it's my fault, but for info, here is the stacktrace :


Error message: Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@8608f,notifier=null,catchExceptions=false,when=1106576884587]
on apple.awt.CToolkit@2c86ee
java.lang.NullPointerException
at com.intellij.openapi.vcs.f.b$1.valueOf(b$1.java:1)
at
com.intellij.util.ui.ListTableModel.getValueAt(ListTableModel.java:57)
at javax.swing.JTable.getValueAt(JTable.java:1771)
at javax.swing.JTable.prepareRenderer(JTable.java:3724)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
at
javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:720)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent._paintImmediately(JComponent.java:4707)
at javax.swing.JComponent.paintImmediately(JComponent.java:4489)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:436)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:139)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:45)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:67)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.e.a.a$d_.show(a$d_.java:31)
at com.intellij.openapi.e.a.a.show(a.java:54)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.vcs.f.a$0.run(a$0.java:6)
at com.intellij.openapi.vcs.f.a.ensureFilesWritable(a.java:13)
at
com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:104)
at
com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:70)
at
com.intellij.refactoring.rename.RenameProcessor.run(RenameProcessor.java:245)
at
com.intellij.refactoring.rename.RenameProcessor.run(RenameProcessor.java:148)
at
com.intellij.refactoring.rename.RenameDialog.doAction(RenameDialog.java:185)
at
com.intellij.refactoring.RefactoringDialog.doRefactorAction(RefactoringDialog.java:17)
at
com.intellij.refactoring.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
at
javax.swing.plaf.basic.BasicRootPaneUI$DefaultAction.actionPerformed(BasicRootPaneUI.java:155)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1535)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
at
javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:202)
at
javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2515)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2507)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4975)
at java.awt.Container.processEvent(Container.java:1613)
at java.awt.Component.dispatchEventImpl(Component.java:3681)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Component.dispatchEvent(Component.java:3543)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3572)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:139)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:105)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:67)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.e.a.a$d_.show(a$d_.java:31)
at com.intellij.openapi.e.a.a.show(a.java:54)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.a(PsiElementRenameHandler.java:46)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:75)
at
com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:52)
at
com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:9)
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.performIdeaDefaultAction(AbstractWikiFilterAction.java:117)
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.performIdeaDefaultAction(AbstractWikiFilterAction.java:106)
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.defaultAction(AbstractWikiFilterAction.java:102)
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.actionPerformed(AbstractWikiFilterAction.java:91)
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.actionPerformed(AbstractWikiFilterAction.java:111)
at
com.propertiesEditor.propedit.action.RenamePropertyAction.actionPerformed(RenamePropertyAction.java:44)
at com.intellij.openapi.keymap.a.e.a(e.java:18)
at com.intellij.openapi.keymap.a.e.b(e.java:121)
at com.intellij.openapi.keymap.a.e.a(e.java:85)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:67)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100

0
Comment actions Permalink

Dmitry Kashin wrote:

>Baaaaaaaad

>
Yes,but "baaaaaad" who ? :)

Can you tell me a little about the collision location :

...
at
com.ravet.ideaplugins.miniWiki.actions.AbstractWikiFilterAction.actionPerformed(AbstractWikiFilterAction.java:111)

at
com.propertiesEditor.propedit.action.RenamePropertyAction.actionPerformed(RenamePropertyAction.java:44)

at com.intellij.openapi.keymap.a.e.a(e.java:18)
...

Alain

0
Comment actions Permalink

Alain,

I don't think this is related to your plugin nor is it related to PE. I just got
the same exception and the stacktrace doesn't show any involvement of any plugin.
I submitted it with the integrated error reporting tool.

http://www.intellij.net/tracker/idea/viewSCR?publicId=42328

java.lang.NullPointerException
at com.intellij.openapi.vcs.f.b$1.valueOf(b$1.java:1)
at com.intellij.util.ui.ListTableModel.getValueAt(ListTableModel.java:57)


Sascha

0
Comment actions Permalink

Can you post wrapper class source here on on my email kashin_d at hotmail.ru ?

TIA,
Dmitry

0
Comment actions Permalink

Sascha

I submitted it with the integrated error reporting tool.
http://www.intellij.net/tracker/idea/viewSCR?publicId=42328

>


Thanks.

I'm back to 3177: I can't inline, or move, or rename. Baaad

Alain

0

Please sign in to leave a comment.