Sublime Forum

Hiding .pyc and other machine generated files in sidebar

#1

I’d like to have .pyc files (compiled Python) hidden in the sidebar, because I am not going to edit them in any case.

How would that be possible?

0 Likes

#2

Edit your user preferences and add:

"file_exclude_patterns": "*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db"]

(and/or add extra extensions you don’t need)

This should be enough.

0 Likes

#3

Is there a way to hide all dotted files and directories by default, like .svn, .metadata?

".*" 

… does not seem to do it?

0 Likes

#4

Ah found it. There is separate folder exclude patterns.

0 Likes