View -> Select In . . . in a contextual menu

Is there any way to get the Select In . . . option of the View menu to show up in the contextual menu for the current window, preferrably completely expanded so a follow-on dialog is not needed? E.G., right-click on a source window brings up:

. . .
. . .
Select In ->
---Projects
---Packages
---File Structure
---. . .
. . .
. . .

If it isn't possible, and anyone can give me pointers I can implement this myself.

2 comments

Hello Bradley,

BS> Is there any way to get the Select In . . . option of the View menu
BS> to show up in the contextual menu for the current window,
BS> preferrably completely expanded so a follow-on dialog is not needed?
BS> E.G., right-click on a source window brings up:
BS>
BS> . .
BS> . .
BS> Select In ->
BS> ---Projects
BS> ---Packages
BS> ---File Structure
BS> ---. . .
BS> . .
BS> . .
BS> If it isn't possible, and anyone can give me pointers I can
BS> implement this myself.

This is not currently possible, but it's easy to implement in a plugin. SelectInManager.getInstance(project).getTargets()
is the API you'll need for this.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

OK, well that's too bad. I will look into implementing this myself. Thanks for the info!

0

Please sign in to leave a comment.