-
Notifications
You must be signed in to change notification settings - Fork 406
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
Disabling maven importer prevents project from being imported at all. #3161
Comments
@ethan-vanderheijden Could you attach a project example? |
You can force the project to be imported as a standard project in two ways:
If it is supposed to fall back on the standard importer when the maven/gradle importer is disabled, I think the fix is as simple as checking if maven/gradle is disabled here: Lines 475 to 479 in bfd86a5
|
I don't think this is a typical scenario. The question is why you want to use InvisibleProjectImporter to import your project instead of Maven importer? |
We don't support Maven projects in our environment, and I was caught a little off guard when disabling Maven turned everything into non-project files. At first, I thought that falling back to the invisible project importer would allow some language features (e.g. resolving references between files) to start working again, but in retrospect, this doesn't make much sense. After all, if I turn off Maven projects, I should expect that they aren't supported. |
The lightweight mode ( |
If you disable the maven (or gradle) importer (
java.import.maven.enabled
), it won't be imported as a maven project, but it also won't be imported as a standard project because it is still detected as a maven project. The project is left in a strange state where every file is marked as a "non-project" file. Is this the desired behavior? Or should it fall back on a standard project importer when the maven importer is disabled?The text was updated successfully, but these errors were encountered: