Properties plugin - strcuture view

Whilst the properties plugin certainly kicks arse and works great, I
can't help but feel that the current location of the navigation/tree
takes up way too much space.

Is it possible too move that under IDEAs Strucutre view? Java files and
XML files seem to render their structures there, would be nice and
consistent to see properties files there also.

Mark

10 comments
Comment actions Permalink

Hi,
I'm affraid not. And since it single plugin using kind of structure view it won't be opened.
May be I'll make it tool window and pin it to the left side of the desktop as workaround?

TIA,
Dmitry

0
Comment actions Permalink

Dmitry Kashin wrote:

I'm affraid not. And since it single plugin using kind of structure view it won't be opened.
May be I'll make it tool window and pin it to the left side of the desktop as workaround?


Yes, a toolwindow would probably accomplish the job without too much
hassle for the user. Perhaps when the user switches to a properties file
you could (optionally) check if the Structure view is open and hide it
and show the Properties Structure view, and reverse that when the user
switches away from the properties file. Or is that too complicated?

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0
Comment actions Permalink

I would just like to say that I do think it would be nice to have the structure in a tool window, so that I can hide it when it is not in use. Thanks.

0
Comment actions Permalink

Dmitry Kashin wrote:

Done


Excellent - although I just got the following stack trace reported
opening a properties file:

Error message: Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at com.intellij.openapi.m.a.d.b(d.java:39)
at com.intellij.ide.util.gotoByName.b.close(b.java:34)
at
com.intellij.ide.util.gotoByName.ChooseByNameBase$11.actionPerformed(ChooseByNameBase$11.java:2)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:491)
at javax.swing.JTextField.postActionEvent(JTextField.java:672)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:786)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at
com.intellij.ide.util.gotoByName.ChooseByNameBase$s_.processKeyEvent(ChooseByNameBase$s_.java:34)
at java.awt.Component.processEvent(Component.java:4909)
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.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:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
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:6)
at com.intellij.ide.t.a(t.java:25)
at com.intellij.ide.t.dispatchEvent(t.java:79)
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)


This is under the new 2178 EAP and MAY be unrelated.

0
Comment actions Permalink

Dmitry Kashin wrote:

Done


Actually - I see you've just moved it to a tool window on the side of
the IDE and not the actual structure pane. Not sure if that can be used
can it?

0
Comment actions Permalink

Did you read my previous posts? Using Structure pane not possible.

TIA,
Dmitry



0
Comment actions Permalink

Very bad. One little question did it after "Parsing properties files" process or not?

TIA,
Dmitry

0
Comment actions Permalink

Dmitry Kashin wrote:

Very bad. One little question did it after "Parsing properties files"
process or not?



From memory I think it was after...

0
Comment actions Permalink

Dmitry Kashin wrote:

Did you read my previous posts? Using Structure pane not possible.



Ewps, must have missed that post.

0

Please sign in to leave a comment.