[ANN] PsiViewer update

hi all!

Fixed focus bug in 1.7 release

regards,

/Ole


0
6 comments

Doing "Go to declaration" on the class for which there's no source code
follows by this:

2002-11-13 17:22:26,346 ERROR - opertysheet.PropertySheetPanel -
Skipping property detectedLineSeparator ; exception on target:
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
IntelliJ IDEA 3.0 Build #676
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
JDK: 1.4.1_01
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
VM: Java HotSpot(TM) Client VM
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
Vendor: Sun Microsystems Inc.
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
OS: Windows XP
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
Last Action: GotoDeclaration
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
Current Command: Declaration
2002-11-13 17:22:26,356 ERROR - opertysheet.PropertySheetPanel -
java.lang.UnsupportedOperationException
at com.intellij.psi.d.a.g.getDetectedLineSeparator(g.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
idea.plugin.psiviewer.view.PropertySheetPanel.getValue(PropertySheetPanel.ja
va:156)
at
idea.plugin.psiviewer.view.PropertySheetPanel.setTarget(PropertySheetPanel.j
ava:50)
at
idea.plugin.psiviewer.view.PsiViewerPanel$1.valueChanged(PsiViewerPanel.java
:64)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown
Source)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown
Source)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.JTree.setSelectionPaths(Unknown Source)
at javax.swing.JTree.setSelectionRows(Unknown Source)
at javax.swing.JTree.setSelectionRow(Unknown Source)
at
idea.plugin.psiviewer.view.PsiViewerPanel.showSelectedElement(PsiViewerPanel
.java:55)
at
idea.plugin.psiviewer.controller.project.EditorListener.selectedFileChanged(
EditorListener.java:56)
at com.intellij.openapi.fileEditor.b.n.a(n.java:191)
at com.intellij.openapi.fileEditor.b.n.a(n.java:233)
at com.intellij.openapi.fileEditor.b.n.a(n.java:447)
at com.intellij.openapi.fileEditor.b.q.run(q.java:2)
at com.intellij.openapi.command.b.b.executeCommand(b.java:54)
at com.intellij.openapi.fileEditor.b.n.openFile(n.java:252)
at com.intellij.codeInsight.k.a.a.a(a.java:37)
at com.intellij.codeInsight.n.o.run(o.java:2)
at com.intellij.openapi.application.b.e.runWriteAction(e.java:108)
at com.intellij.codeInsight.n.n.run(n.java:0)
at com.intellij.openapi.command.b.b.executeCommand(b.java:48)
at com.intellij.codeInsight.n.t.a(t.java:18)
at com.intellij.codeInsight.n.t.actionPerformed(t.java:11)
at com.intellij.openapi.a.b.f.a(f.java:19)
at com.intellij.ide.q.dispatchEvent(q.java:77)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

"Ole Matzura" <ole@eviware.com> wrote in message
news:aquh96$nsp$1@is.intellij.net...

hi all!

>

Fixed focus bug in 1.7 release

>

regards,

>

/Ole

>
>



0

Two more bugs in new 1.7.1 version:

1. After each Ctrl+B cursor in original file jumps to the top (looks like
that in target too).
2. PsiViewer window hides immediately after being shown if the window mode
is "autohide".

--
Best regards,
Mike Aizatsky.
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


0

Item 1 has been fixed in 1.9
Item 2 may have to be a feature (for now at least).

0

Item 2 may have to be a feature (for now at least).


So, it makes PsiViewer rather useless - I can't understand a word. It hides
immediately after pressing Show Psi Structure action.

--
Best regards,
Mike Aizatsky.
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


0

This should work in 2.0 release.. the problem was related to the caret
positioning/refocusing when a tree item was selected (which closed the
toolwindow), this feature is now deactivated when toolwindow is in auto-hide
mode.

regards!


/Ole

"Mike Aizatsky" <mike@intellij.com> wrote in message
news:ar09of$iul$1@is.intellij.net...

Item 2 may have to be a feature (for now at least).

>

So, it makes PsiViewer rather useless - I can't understand a word. It

hides

immediately after pressing Show Psi Structure action.

>

--
Best regards,
Mike Aizatsky.
------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

>
>


0

There's got to be a solution for this :( since IDEA manages it.
Wish I had more time to investigate... Oh well, this is more a
plugin development tool, so we can live with it.

Ole Matzura wrote:

This should work in 2.0 release.. the problem was related to the caret
positioning/refocusing when a tree item was selected (which closed the
toolwindow), this feature is now deactivated when toolwindow is in auto-hide
mode.

regards!


/Ole

"Mike Aizatsky" <mike@intellij.com> wrote in message
news:ar09of$iul$1@is.intellij.net...

>>>Item 2 may have to be a feature (for now at least).
>>
>>So, it makes PsiViewer rather useless - I can't understand a word. It


hides

>>immediately after pressing Show Psi Structure action.
>>
>>--
>>Best regards,
>>Mike Aizatsky.
>>----


>>JetBrains, Inc / IntelliJ Software
>>http://www.intellij.com
>>"Develop with pleasure!"
>>
>>




--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0

Please sign in to leave a comment.