9 comments
Comment actions Permalink

Thomas,
For me properties seem to be sorted alphabetically all the time! Can you give an example where this is not the case?
Cheers,
A.

0
Comment actions Permalink

I'm using PsiViewer 2.22.1; please see attached screenshot.

Tom



Attachment(s):
unsorted-properties.png
0
Comment actions Permalink

Maybe it's version-related...I'm using idea 4.5.3 #2250 what build are you getting this on?

0
Comment actions Permalink

The relatively stable #3144.

0
Comment actions Permalink

Tom,

I've uploaded 2.23.6 to the wiki site:
http://www.intellij.org/twiki/pub/Main/PsiViewerPlugin/PsiViewer.jar
Can I get you to verify the problem is fixed before I offically publish it?

Cheers,
A.

0
Comment actions Permalink

Hello Andrew,

Sorting of properties on #3144 works perfectly now. Thank you very much.
Could you also fix the exceptions that appear when clicking on a
PsiReferenceExpression in the tree?

Thanks,
Bas

Error message: Assertion failed: This method should not be used for
PsiJavaReference!
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.psi.impl.source.tree.a.bl.getVariants(bl.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at idea.util.IntrospectionUtil.getValue(IntrospectionUtil.java:55)
at
idea.plugin.psiviewer.view.PropertySheetPanel.setTarget(PropertySheetPanel.java:66)
at
idea.plugin.psiviewer.view.PsiViewerPanel.updatePropertySheet(PsiViewerPanel.java:247)
at
idea.plugin.psiviewer.view.PsiViewerPanel.setSelectedElement(PsiViewerPanel.java:230)
at
idea.plugin.psiviewer.view.PsiViewerPanel.access$600(PsiViewerPanel.java:55)
at
idea.plugin.psiviewer.view.PsiViewerPanel$ViewerTreeSelectionListener.valueChanged(PsiViewerPanel.java:196)
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.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.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:80)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:119)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:152)
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)


Andrew Armstrong wrote:

Tom,

I've uploaded 2.23.6 to the wiki site:
http://www.intellij.org/twiki/pub/Main/PsiViewerPlugin/PsiViewer.jar
Can I get you to verify the problem is fixed before I offically publish it?

Cheers,
A.

0
Comment actions Permalink

Hello Thomas,

TS> (see subject)

Tom, looking on screen shot - you have not enable PsiViewer :)) Ask someone
from JB how do it :)

Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru

0
Comment actions Permalink

2.23.14 works great! As does 2.23.16 which I saw was in the plugin
repository already. This makes Auto scroll from source usuable for me,
without the occasional exceptions.

Thank you,
Bas

Andrew Armstrong wrote:

Bas,
Try version 2.23.14... http://www.intellij.orghttp/twiki/pub/Main/PsiViewerPlugin/PsiViewer.jar

Cheers,
A.

0

Please sign in to leave a comment.