Steps to reproduce this issue
1 Create the following folder structure
projects project app static // dont want to ignore test.js static // want to ignore test.js
2 open the
project folder in Atom, with the following config settings:
'global': 'core': 'ignoredNames': [ '**/project/static/**' ]
The settings above indicate we want to ignore
project/static and not
3 This is when things get inconsistent
project/staticand finds only one
project/staticand finds both
project/staticand shows all folders and files in the tree
Here is why this is happening:
fuzzy-finder works because it’s properly using
loadedPath is the full path name.
Find and Replace
find-and-replace doesn’t work.
scandal is using
filepath is a relative path instead of full path name.
tree-view doesn’t work because it doesn’t use
minimatch. It just uses
minimatch and full paths across all three plugins.
Also, it would be awesome if the API itself provided an
isPathIgnored method so that all plugins can use the same code.