/
GotoRelatedFile.sublime-settings
85 lines (83 loc) · 2.25 KB
/
GotoRelatedFile.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"enabled_configurations": [
"kohana",
"chaplin"
],
// Configuration definitions
"chaplin": {
"app_dir": "httpdocs/_media",
"file_types": {
"controller": {
"path": "js/{%}/controllers",
"suffix": "_controller",
"rel_patterns": {
"templates": "${app_path}/${type_path}/${file_from_type_path}/*",
"view" : "${app_path}/${type_path}/${file_from_type_path}/*"
}
},
"template": {
"path": "js/{%}/templates",
"rel_patterns": {
"controller": "${app_path}/${type_path}/${dir_from_type_path}.js",
"view" : "${app_path}/${type_path}/${file_from_type_path}.js"
}
},
"view": {
"path": "js/{%}/views",
"rel_patterns": {
"controller": "${app_path}/${type_path}/${dir_from_type_path}.js",
"template" : "${app_path}/${type_path}/${file_from_type_path}.hbs",
"scss" : "${app_path}/${type_path}/${file_from_type_path}.scss"
}
},
"scss": {
"path": "scss/pages",
"prefix": "_",
"rel_patterns": {
"view" : "${app_path}/js/app/views/${file_from_type_path}.js"
}
}
}
},
"kohana": {
"app_dir": "application",
"file_types": {
"controller": {
"path": "classes/Controller",
"rel_patterns": {
"template": "${app_path}/${type_path}/${file_from_type_path}/*",
"view" : "${app_path}/${type_path}/${file_from_type_path}/*",
"test" : "${app_path}/${type_path}/${file_from_app_path}${suffix}.php"
}
},
"model": {
"path": "classes/Model",
"rel_patterns": {
"test" : "${app_path}/${type_path}/${file_from_app_path}${suffix}.php"
}
},
"view": {
"path": "classes/View/Page",
"rel_patterns": {
"controller": "${app_path}/${type_path}/${dir_from_type_path}.php",
"template": "${app_path}/${type_path}/${file_from_type_path}.mustache",
"test" : "${app_path}/${type_path}/${file_from_app_path}${suffix}.php"
}
},
"template": {
"path": "templates",
"rel_patterns": {
"controller": "${app_path}/${type_path}/${dir_from_type_path}.php",
"view" : "${app_path}/${type_path}/${file_from_type_path}.php"
}
},
"test": {
"path": "tests",
"suffix": "Test",
"rel_patterns": {
"*": "${app_path}/${file_from_type_path}.php"
}
}
}
}
}