t9md / atom-narrow

narrow something
https://atom.io/packages/narrow
MIT License
109 stars 12 forks source link

Excluding paths #270

Closed tobiasandersen closed 6 years ago

tobiasandersen commented 6 years ago

Hi, thanks for this great package!

I work in a pretty big monorepo, but usually only open one of the packages at a time in atom. This doesn't work very well with atom-narrow, since the .gitignore file doesn't get picked up and because of that searches in e.g. node_modules, build files etc. Is there a way I can exclude certain paths some other way?

Thanks

t9md commented 6 years ago

I haven't tried, but search use ag or rg depending on your Search.searcher setting.

So crafting .ignore file locally will workaround issue? https://github.com/ggreer/the_silver_searcher/wiki/Advanced-Usage

tobiasandersen commented 6 years ago

Oh got it, worked perfectly. Thanks!