-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathOpen-Include.sublime-settings
76 lines (63 loc) · 2.33 KB
/
Open-Include.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
{
// Setting this to `true` will open every http link in your default
// browser and not attempt do download and open it in Sublime Text.
"open_http_in_browser": false,
// If true the path needs to be complete and correct, otherwise the file
// will not open and the package will not attempt to find the file.
"use_strict": false,
// Will create the file if doesn't exists.
"create_if_not_exists": false,
// How many directories the plugin should go up.
"maximum_folder_up": 5,
// splits the view, and open the file in a secondary column
"in_secondary_colum": false,
// Expand tilde characters in the path to the user's home directory, i.e.:
// ~/Project/file_name -> /home/user_id/Project/file_name
"expand_tilde": true,
// Expand environment variables characters in the path, i.e.:
// $HOME/Project/file_name -> /home/user_id/Project/file_name
"expand_env_var": true,
// Additionally check for these combinations of extension and prefix when
// searching for a file
"auto_extension": [
// css
{
"extension": ".scss",
"prefix": "_"
},
// node.js
{
"extension": "/index.js",
"prefix": ""
}
],
// Support environment variable expansion
"environment": [],
// Option used by the panel control to change the files to open strategy
// true: Offers to open all file of an environment if the file is available in it
// false: Offers to open the first file of the environment which is already opened in st
// or the file of the environment of the main path
"expand_alias": true
/* Example:
current file name: /main/path/to/UAT/Project/file_name
other file opened: /alias/to/Dev/Project/file_name
base_name: Project/file_name
"environment":
[
{ "Prod" : [ "/main/path/to/Prod/", "/alias/to/Prod/", "/another/alias/to/Prod/" ] },
{ "Dev" : [ "/main/path/to/Dev/", "/alias/to/Dev/" ] },
{ "UAT" : [ "/main/path/to/UAT/" ] },
{ "Prod" : [ "/main/path/to/another/Project/Prod" ] },
{ "Dev" : [ "/main/path/to/another/Project/Dev" ] }
],
Files to open ("expand_alias": true):
/main/path/to/Prod/Project/file_name
/alias/to/Prod/Project/file_name
/another/alias/to/Prod/Project/file_name
/main/path/to/Dev/Project/file_name
/alias/to/Dev/Project/file_name
Files to open ("expand_alias": false):
/main/path/to/Prod/Project/file_name
/alias/to/Dev/Project/file_name
*/
}