How to display hidden files with Visual Studio Cod

2020-02-26 02:49发布

问题:

The "open file" dialog in Visual Studio Code is not showing hidden files. For example, when looking at my home directory, none of the . files are shown:

I did look through the settings.json file, but I did not find any applicable setting. So - how do I configure Visual Studio Code properly?

回答1:

No setting, but you can hit cmdshift. in the open file dialog to see hidden files.

(Source)



回答2:

Under Linux you can right click on files in the file selection window and check the "Show Hidden Files" checkbox.



回答3:

In menu View in Visual Studio Code, select SCM (shortcut Ctrl + Shift + G), right click on the Git icon, click here and select Keep.