Search code examples
visual-studio-codevscode-tasks

How do I hide files In VSCode


In Ubuntu, filenames starting with . are hidden, but whenever I open any folder in VSCode those hidden files are visible in the Explorer Side Bar. I don't want VSCode to show the files which are normally hidden in Linux, i.e. where the file name starts with ..

Can someone tell me how to hide files in VSCode's Explorer where the name starts with .?


Solution

  • In VSCode:

    • Go to File > Preferneces > Settings
    • Expand Text Editor > Files
    • Click Add pattern below Files:exclude