Bug 421305 - Allow direct import of a single project
Summary: Allow direct import of a single project
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2013-11-08 03:07 EST by Mickael Istria CLA
Modified: 2013-11-28 08:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2013-11-08 03:07:20 EST
When using the import from EGit UI, I often select a project that I want to import. By default, it opens the Import Existing projects wizard.
It would be convenient that if a .project is existing on selection, the default action would be to directly import a project. What I have in mind is another radio option that is only enabled when a .project is found and which is "import Eclipse project <projectName>".
Newcomers don't really know what is an Eclipse project (they don't know what's a .project), so this option would guide them in importing directly projects that are available.

Also, I'd like to recommand re-wording "Import Existing projects" into "Look for existing Eclipse projects".
Comment 1 Robin Stocker CLA 2013-11-23 11:32:06 EST
(In reply to Mickael Istria from comment #0)
> When using the import from EGit UI, I often select a project that I want to
> import. By default, it opens the Import Existing projects wizard.
> It would be convenient that if a .project is existing on selection, the
> default action would be to directly import a project. What I have in mind is
> another radio option that is only enabled when a .project is found and which
> is "import Eclipse project <projectName>".
> Newcomers don't really know what is an Eclipse project (they don't know
> what's a .project), so this option would guide them in importing directly
> projects that are available.

+1. What do you think, should the option also appear when a project is selected in the tree after the dialog is opened? The option should probably be always there, but not be enabled unless such a project is selected.

(Unfortunately, the import code in EGit is a bit messy, would probably be good to clean it up a bit before implementing this.)

> Also, I'd like to recommand re-wording "Import Existing projects" into "Look
> for existing Eclipse projects".

Yes, why not.
Comment 2 Mickael Istria CLA 2013-11-28 06:58:04 EST
FYI, bug 37478 and bug 421930 are about suggested a better workflow and UI for the Import directory as project scenario.
Comment 3 Robin Stocker CLA 2013-11-28 08:20:20 EST
Thanks for the pointers, I agree that this is currently too hard in platform. See also bug 324145, which is related.