Open DarkMikey opened 3 years ago
yes, probably. can you share a sample of your structure tree? so I can better understand the issue?
Our tree is like that.
.
├── app/
│ ├── pubspec.yaml
│ └── lib/
├── data/
│ ├── pubspec.yaml
│ └── lib/
├── client/
│ ├── pubspec.yaml
│ └── lib/
└── repository/
├── pubspec.yaml
└── lib/
To be clear dartImport.fixOnSave
didn't change anything. I have to open a specific folder (e.g. app) in vs code (so a pubsec.yaml or /lib is in root(?)) to get it to work.
I guess one has to modify the lib/**/**.dart
expression that is passed as an argument to the findFiles()
function, but I have honestly no clue if more wildcards will be suffienct 😀
Was this considered to be fixed? I guess many of us uses the tree structure mentioned above, i.e. multiple packages. I would not mind narrowing it down to one package scope dart-import.fix-package
if that would make the fix simpler.
dart-import.fix-all
will result in info message "No dart files were found".I have a nested project structure, that contains several packages. I assume this is the reason why the extension can't find any dart files?
Is there anything I can do beside enabling
dartImport.fixOnSave
?