Skip to content

Instantly share code, notes, and snippets.

@Naatan
Created February 26, 2014 15:25
Show Gist options
  • Save Naatan/9231532 to your computer and use it in GitHub Desktop.
Save Naatan/9231532 to your computer and use it in GitHub Desktop.
Komodo IDE - Open Files Pattern for DocPad
ko.openfiles.groupers.byPattern.patterns = [
{
name: 'Databases',
pattern: /\/databases(?:\/|$)/i
},
{
name: 'Scripts',
pattern: /\/scripts(?:\/|$)/i
},
{
name: 'Styles',
pattern: /\/styles(?:\/|$)/i
},
{
name: 'Pages',
pattern: /\/pages(?:\/|$)/i
},
{
name: 'Documents',
pattern: /\/documents(?:\/|$)/i
},
{
name: 'Layouts',
pattern: /\/layouts(?:\/|$)/i
},
{
name: 'Partials',
pattern: /\/partials(?:\/|$)/i
},
{
name: 'Public',
pattern: /\/public(?:\/|$)/i
},
{
name: 'All Other',
pattern: /./
}
];
ko.openfiles.reload(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment