_From @jeffallen on November 24, 2015 18:17_
Maybe I just don't know how to use the file chooser in MacOS, but I thought I'd use my nifty new vscode install to edit my .bash_profile and add the code alias proposed in the install docs. But then I couldn't get it to let me open .bash_profile no matter what I tried. Sadly, I went to Emacs and did it there. VSCode fail. :(
I get it. You're doing the right thing by using the Mac file dialog. And Apple is doing the right thing by hiding dotfiles. Except, I'm a programmer, and I know what I'm doing (except when I don't, but then I search stack overflow...)
_Copied from original issue: Microsoft/vscode-go#83_
Quite by accident, while trying to solve another problem, I found that hitting "/" in the file open dialog brings up a little popup where I could give it a dotfile. Sorry for the noise. And thanks for accidentally teaching me this One Simple Trick.
Feel free to file a bug against Electron and ask them to provide an option in the file picker to show hidden files.
Just hit Cmd+Shift+.
in the file dialog to see hidden files!
Most helpful comment
Just hit
Cmd+Shift+.
in the file dialog to see hidden files!