pmneo / ts-importer

MIT License
73 stars 8 forks source link

Cannot index folder appeared in .gitignore #45

Open k8w opened 7 years ago

k8w commented 7 years ago

A demo project here: https://github.com/k8w/vscode-gitignore-problem-example

Why ignore folder should be index? My project structure:

|- __shared
|- frontend
    |- shared  // a symlink to ../__shared
|- backend
    |- shared  // a symlink to ../__shared

In order to not submit a symlink, .gitignore is:

/frontend/shared
/backend/shared

And when I open frontend or backend via vscode, shared cannot be indexed by tsimporter

k8w commented 7 years ago

It seems like vscode.workspace.findFiles ignored those files. Have logged a issue here https://github.com/Microsoft/vscode/issues/36617