-
Notifications
You must be signed in to change notification settings - Fork 446
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
Include folders to import #1084
Comments
@maxandersen as usual with that kind of thing, there's always the problem of who takes precedence. |
Alternatively adopt the convention/format of things like .gitignore/.dockerignore where a "!" negates the pattern. see https://git-scm.com/docs/gitignore#_pattern_format Then it would be: |
"java.import.exclusions": [
"**/node_modules/**",
"**/.metadata/**",
"**/archetype-resources/**",
"**/META-INF/maven/**",
"**/quarkus/**",
"!**/quarkus",
"!**/quarkus/build-parent",
"!**/quarkus/bom",
"!**/quarkus/bom/*",
"!**/integration-tests",
"!**/integration-tests/maven",
"!**/devtools/*",
"**/devtools/gradle"
] You have to include a parent directory. The order is important. |
Signed-off-by: Fred Bricon <[email protected]>
what does it mean by "include a parent directory"? How does the ordering works? Wonder if there is any guide that explains this in details. |
if you want to include only the **/quarkus/bom/*, you have to set the following:
! means include instead of exclude. |
importing quarkus repo I end up with an almost impossible vscode which keeps waiting on maven to refresh on every java related action.
Was suggested to use
java.import.exclusions
to tell which projects to not import.That’s rather tedious and I was realizing if I could just do
java.import.exclusions=**
and then `java.import.inclusions=integration-tests/maven/,devtools/' then I would be good.As opposed to listing ~300 individual lines in exclusion.
Pretty please :)
The text was updated successfully, but these errors were encountered: