TextMate Patterns
Text Mate uses regular expressions to set the files that it opens in folders and projects. The patterns exposed in this document make possible to use the specific dot-prefixed files needed in the 'structure' part of a CMF GenericSetup profile.
Set up
There are two ways to set up these patterns.
- For every new folder reference
- From the Preferences pane, in Advanced, under the Folder References tab. Simply copy and paste them where fit.
- For a project
- From the Information icon button in the project drawer.
Patterns
File Pattern:
!(/\.(?!(htaccess|properties|objects|preserve|delete))[^/]*|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
Folder Pattern:
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
