vscode-advanced-new-file
vscode-advanced-new-file copied to clipboard
.gitignore located at subdirectories should be respected
In a micro-service oriented project, it would have different .gitignore files in different subdirectories.
The current implementation of advanced new file collects the .gitignore file from project dir to the system's root, and it doesn't consider the .gitignore files located at subdirectories.
@floydwch good idea! Perhaps a workaround for the time being: if you open each git repo as its own root in a multi-root workspace (instead of opening the parent dir), all the gitignores should be honored.
@patbenatar yeah, it's how I'm dealing with it in the meanwhile.