Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
105 views
in Technique[技术] by (71.8m points)

Directory hidden in visual studio code explorer

I have a problem that has been bugging me for months. I have a software directory structure which when viewed in visual studio code explorer is missing a directory called 'install' all other directories are visible. If I delete the 'install' directory and recreate it with visual studio code explorer (right click and select new folder) it does not appear in the explorer but does appear in the file system.

Somehow visual studio explorer seems to be filtering out any directory call 'install' anywhere in the directory structure or on any other filesystem.

The same thing happens if I try and create an 'install' directory on any filesystem, local filesystem, local git repo, remote folder, etc.

Any suggestions about how this is happening and what to do about it?

question from:https://stackoverflow.com/questions/65852164/directory-hidden-in-visual-studio-code-explorer

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

make sure you don't have by accident a setting like this in your settings.json file:

"files.exclude": {
    "install": true
},

If you use the gui for your settings instead of the json file, search for "Files: Exclude" and you will see the files or folders that are told not to display.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...