Sublime Text 3: Hide Hidden Files and Folders in Sidebar

When using Sublime Text 3 on my Mac I noticed that it was showing all hidden files and folders in the left-hand folder/file navigation pane. This can become quite annoying in a large project with tens of files and folders, specially when it shows all of the ._ files for each and every file in the project. To stop this from happening all you need to do is edit your .sublime-project file so it looks similar to the following.

{
    "folders":
    [
        {
            "path": ".",
            "folder_exclude_patterns": [".*"],
            "file_exclude_patterns": [".*"]
        }
    ]
}

As soon as you save the project file the hidden files and folders will instantly vanish from the left-hand pane.

Published by

Tim Clark

Experienced Business Owner, Chief Information Officer, Vice President, Chief Software Architect, Application Architect, Project Manager, Software Developer, Senior Web Developer, Graphic Designer & 3D Modeler, University Instructor, University Program Chair, Academic Director. Specialties: Ruby, Ruby on Rails, JavaScript, JQuery, AJAX, Node.js, React.js, Angular.js, MySQL, PostgreSQL, MongoDB, SQL Server, Responsive Design, HTML5, XHTML, CSS3, C#, ASP.net, Project Management, System Design/Architecture, Web Design, Web Development, Adobe CS6 (Photoshop, Illustrator)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s