Now, usually I do this in Terminal, where a command like “code .gitignore” or “ls -la” is enough to do what I need to do, but perhaps you want to do something else. Maybe you want to create a hidden directory on your desktop. Maybe you want to further hide that DMG file you made to protect your files.
Interestingly, you can only create hidden files if you have this enabled. If you try to put a period before a file name with hidden files hidden, you won’t be able to do it. Enable hidden files, and they disappear!
There are plenty of reasons to use hidden files. Previously, the best reason not to was the difficulty of toggling their visibility. With this shortcut, that issue goes away. Just remember where you put everything!