-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New setting entry to let user choose project type #600
Comments
You can use |
@fbricon I tried the both settings, they work in most cases. For some reason I have such a repository, in the |
I think the root cause is Here, When gradle importer applies, it stops checking for other importers. So whenever there is a private IProjectImporter getImporter(File rootFolder, IProgressMonitor monitor) throws OperationCanceledException, CoreException {
Collection<IProjectImporter> importers = importers();
SubMonitor subMonitor = SubMonitor.convert(monitor, importers.size());
for (IProjectImporter importer : importers) {
importer.initialize(rootFolder);
if (importer.applies(subMonitor.split(1))) {
return importer;
}
}
return null;
} |
We have projects that have multiple project info inside. Like this one:
https://github.com/spring-guides/gs-spring-boot
Both Gradle and Maven project info exists. In this case, Gradle wins by default.
The project configurations come from the source repo, but when users actually work on it, it's better to have an option to let users choose their preferred project type.
The new setting could look like:
preferredProjectType: "Gradle" // or "Maven"
And the setting could be global or per project.
The text was updated successfully, but these errors were encountered: