Closed eumus closed 10 years ago
I like that. There is just a small problem, the popup is too big when I have 50 recent projects. So I will add limit to it. Also, I like speed search more than mnemonics, so I will add setings gui for both of it.
I am thinking that it would be nice to be able to filter recent projects by a folder, because I usually need to reopen projects which are in one particular folder, and other projects are usually just one timers or rarely used.
Thank you very much! What do you think about putting recent projects to a submenu like this? I was going to make it this way initially, but haven't found a quick way to do so. This might make opening recent one keystroke more, of course. Another possible option is to make it 2-columns like this:
If you wish I might work on it, I just need a hint on which API might be used, or where to search for examples of such popup implementation because I'm absolute novice to the Intellij platform.
I think that the current way is good.
Submenus are easy, but speedsearch seems to not work with it properly
group.addAction(new ActionGroup("group", true) {
@NotNull
@Override
public AnAction[] getChildren(@Nullable AnActionEvent anActionEvent) {
return recentProjectsActions;
}
});
I have not tried the 2 column popup.
Btw, as far as I understand speedsearch works in popups with mnemonics as well. Could you make it sure please? If so, probably you don't need a setting for switching mnemonics/speedsearch.
That's right, it works with NUMBERING, but still, settings will be the best way.
I just pushed that settings.
Looks great, thanks!
Thank you, it is truly awesome with those recent projects.
PS I've put all of the changes into a single commit because they are tiny ones. Sorry if I did anything wrong, this is my first pull request on GitHub.