Reputation: 77707
I am using Delphi XE8 and I have a project group containing lots of projects. Even though the group is already big, I sometimes still need to add existing projects to it.
Now the only way you can add an existing project to a group in Delphi (to the best of my knowledge) is using the group item's context menu in the project group tree view:
When the group is big, like in my case, the project list in the tree view could be scrolled down, so that the group item, which is always at the top, would be out of view. In order to add an existing project to my group, therefore, I would have to scroll up the tree view in order to right-click on the group item.
In contrast, the Add New Project command can be invoked in two ways: from the same context menu as above and using a speed button on the Project Manager's toolbar:
The toolbar is always in view, which makes adding new projects very easy. I would like to have the same kind of convenience for my scenario, but the Project Manager toolbar does not appear to be customisable. Is there a way, perhaps using third-party tools, to edit the toolbar in order to add a button for adding an existing project? Or maybe a different method to make the command more accessible?
Upvotes: 0
Views: 604
Reputation: 8386
You can also add new or existing project to your project group from Delphi Project menu. Using the contex menu that pops up when you right click on project group is not the only way to do so.
Or you can use these commands to start a new project group when no project is opened in the IDE since these commands are always available.
Upvotes: 2
Reputation: 47768
The Add existing project command is available for customizing one of the IDE toolbars.
Upvotes: 2
Reputation: 2007
You can drag'n'drop a project file in the project explorer and it is added to the group! Or you just doubleclick/open the project to get the same result.
Upvotes: 4
Reputation: 12312
Or maybe a different method to make the command more accessible?
The shortest way - to my knowledge - is this keyboard sequence:
Ctrl+Alt+F11 (Show project manager, and put focus there)
Home (Move selection to the name of project group)
Win-Context-menu-key (Same as right-click: show context popup menu)
A (Add existing project)
If you have a cheap keyboard without a menu key, you can use Shift+F10 instead of Win-Context-Menu-Key.
Upvotes: 1