[ANN] EditorTree 1.0.1

Hello,

New plugin version available from Plugin Manager since 4089 build.

  • Fix troubles with Bundles editors

  • Binded hotkeys for actions in popup

  • Fix focus troubles (thanks to Mike Aizatsky)

  • Minor bug fixes


Enjoy! :)

5 comments

That's great, it looks very IDEA native! I have only one tiny problem
with it: The dialog jumps around a bit (caused by resizing) when opening
and closing branches of the editor tree.

May I use the source to
org.intellij.trinkets.editorTree.view.ui.EditorTreeViewDialog in the
TabSwitchPlugin?

Bas

Alexey Efimov wrote:

Hello,

New plugin version available from Plugin Manager since 4089 build.

  • Fix troubles with Bundles editors

  • Binded hotkeys for actions in popup

  • Fix focus troubles (thanks to Mike Aizatsky)

  • Minor bug fixes


Enjoy! :)

0

Hello Bas,

Hmm, resizing is intentional behaviour. Is it not good? :)

About reuse, sure, just get sources and modify by you wish. It already in plugin directory if you downloaded it.
But it have hack with a focus, you maybe can delete this code, becouse you will now close editors, i guess. This dialog have Alarm to make workaround of focus troubles.

Thanks!

0

BTW, i found class in idea.jar that can create popup by for the JList, maybe you can used it instead of my custom implementation that probably is not very good as native realization?

com.intellij.ui.ListPopup

And sound like, that Demetra will have JBPopupFactory for creation that popups.

0

Yeah, I had already noticed com.intellij.ui.ListPopup too. And I
submitted a request to add something like that to the openapi on 15
december:
http://www.jetbrains.net/jira/browse/IDEADEV-3908
But I looked at it only briefly and have not yet figured out why a
java.lang.Runnable is passed to the constructor. Your implementation
with some modifications seems good enough for me (until an EAP of
Demetra is released). Thanks for letting me use your source.

I just noticed you even implemented speed search, that is excellent!

Bas


Alexey Efimov wrote:

BTW, i found class in idea.jar that can create popup by for the
JList, maybe you can used it instead of my custom implementation that
probably is not very good as native realization?

com.intellij.ui.ListPopup

And sound like, that Demetra will have JBPopupFactory for creation
that popups.

0

Hi Alexey,

Alexey Efimov wrote:

Hmm, resizing is intentional behaviour. Is it not good? :)


Well, when I open a branch in the file tree, first a scroll bar is shown
for a very short time, then the window is resized to a bigger size and
moved left and up (to center it in the IDEA frame probably). This feels
jumpy. I think it would feel better if the window didn't move when it
resized. Then it would be a little bit like the "Go To > Class..." drop
down.

Bas

0

Please sign in to leave a comment.