Groups of favorites lists in PhpStorm?

I develop a large PHP-based website with thousands of source files, and I make heavy use of the Favorites feature to create lists of the few source files involved in each enhancement I do, so as to easily go back to them if future enhancements are required.

After a year, I end up with dozens of favorites lists, and the 'Add to favorites' context menu is so tall some of the lists are cropped off. At the moment I'm forced to delete some lists to make more screen space available. I'd rather not have to do this.

What would be really useful is to be able to create a collapsible group of favorites - in my case I'd probably have groups called '2012', '2013' and '2014' - so as to reduce the screen footprint of the favorites list.

I don't think it's necessary to have multiple levels of nesting - one level would be enough.

Alternatively, is there another way to solve this problem (apart from deleting favorites lists, obviously)?

Thanks in anticipation,

Alan

1 comment
Comment actions Permalink

Hi there,

Have you tried Context functionality (works with editor tabs only): "Tools | Tasks & Context" -- it allows to save all currently opened editor tabs and re-open them in one go.

This works differently to favorites. In particular -- if tab is closed then it is no longer part of the context (will not be loaded if that context is opened again).

http://www.jetbrains.com/phpstorm/webhelp/switching-between-contexts.html

As I understand if you are using VCS, it will link/remember context to the actual task/ticket (not sure if it works with all VCS or what).

http://blog.jetbrains.com/webide/2011/06/issue-trackers-integration-tasks-and-ide-contexts/

Alternatively, is there another way to solve this problem (apart from deleting favorites lists, obviously)?

In regards to favorites: you could rename them on temp base: since they are sorted A-Z, you could prepend "!" to currently active group so it will be on the top

0

Please sign in to leave a comment.