Include folders to import
See original GitHub issueimporting 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 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Importing files from different folder - python - Stack Overflow
When importing a file, Python only searches the directory that the entry-point script is running from and sys.path which includes locations such as...
Read more >Python – Import module from different directory - GeeksforGeeks
Method 1: Import module from different directory using the sys module. We can use sys.path to add the path of the new different...
Read more >Python — How to Import Modules From Another Folder? - Finxter
The most Pythonic way to import a module from another folder is to place an empty file named __init__.py into that folder and...
Read more >Create import folders - Evernote Help & Learning
Files you place into an import folder are automatically added and synced to your Evernote ... You can choose to include subfolders in...
Read more >Importing files from different folder - YouTube
Thanks for watching this video !Don't forget to drop a like and share it with your friends !Subscribe to the Hackanon's channel for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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=foo/bar/**,!foo/**
@maxandersen as usual with that kind of thing, there’s always the problem of who takes precedence. In your exemple java.import.inclusions takes precedence over java.import.exclusions, to a point where it would not even be necessary to define
java.import.exclusions=**
But then, what if someone needed toinclude=foo/**
, butexclude=foo/bar/**
?