dawsbot / RelativePath

VSCode Relative path plugin
https://marketplace.visualstudio.com/items?itemName=jakob101.RelativePath
MIT License
69 stars 22 forks source link

Files starting with a dot do not show up #20

Closed chipit24 closed 2 years ago

chipit24 commented 6 years ago

On macOS, when I open the the file selector (Cmd+Shift+H), files that start with a dot (ex. .env.test) do not show up. These files are not listed in the relativePath.ignore config or in my .gitignore file.

rrag commented 6 years ago

I did this

- this._myGlob = new Glob(this._workspacePath + "/**/*.*",
+ this._myGlob = new Glob(this._workspacePath + "/**/*",

- { ignore: this._configuration.get("ignore") },
+ { dot: true, ignore: this._configuration.get("ignore") },

and got the hidden files to work, @jakob101 do you see a problem with this change? if not I can do a PR

jakob101 commented 6 years ago

Feel free to do this man! 👍 👍

jakob101 commented 6 years ago

Just a small comment: please make sure you do get back only files, not folders. But otherwise we're good to go!