|
1 | 1 | { |
2 | | - // This setting contains a dictionary of aliases. The keys represent the |
3 | | - // alias names, the values represent the paths. |
4 | | - // NOTE: These should be absolute paths. Also, these paths should |
5 | | - // match your systems convention. For example, Windows machines should |
6 | | - // have paths similar to "C:\\Users\\username\\Desktop". *nix systems should |
7 | | - // have paths similar to "/home/username/desktop". |
8 | | - "alias": {}, |
9 | | - |
10 | | - // This is a secondary field for aliases. These aliases will be platform specific. |
11 | | - // The key for the entry will still represent the name to be used for the alias. |
12 | | - // Rather than being just a string path, the value will be a nested dictionary. |
13 | | - // The dictionary may have one of three keys, "windows", "linux", or "osx". |
14 | | - // The path used for this alias will be based on the operating system being used. |
15 | | - "os_specific_alias": {}, |
16 | | - |
17 | | - // A default initial value to fill the create new file input path with. |
18 | | - "default_initial": "", |
19 | | - |
20 | | - // When renaming a file it will we pre populated with the file existing filename. |
21 | | - "autofill_path_the_existing": false, |
22 | | - |
23 | | - // A boolean defining if cursor text should be used. Text bound by single or |
24 | | - // double quotes or within a region will be used. If multiple cursors |
25 | | - // are used, the earliest selection containing a region or existing |
26 | | - // within quotes will be used. |
27 | | - // NOTE: A value read from cursor will override the default |
28 | | - // initial string setting. |
29 | | - "use_cursor_text": false, |
30 | | - |
31 | | - // A boolean value specifying if regular files should be included in the auto |
32 | | - // complete options. |
33 | | - "show_files": false, |
34 | | - |
35 | | - // A boolean specifying if the file path being created should be displayed in |
36 | | - // the status bar. |
37 | | - "show_path": true, |
38 | | - |
39 | | - // This value specifies the default directory when using AdvancedNewFile. |
40 | | - // Note it must be one of these values: |
41 | | - // project_folder - Default will be the folder index specified by the "default_folder_index" setting. |
42 | | - // current - Default will be the directory of the current view. |
43 | | - // home - Default will be the home folder (~/) |
44 | | - // path - Default will be defined by the setting "default_path" |
45 | | - // If the current view or top folder cannot be resolved, the home directory |
46 | | - // will be used. |
47 | | - "default_root": "project_folder", |
48 | | - |
49 | | - // A string specifying the default root to use. For this to be utilized, |
50 | | - // "default_root" must be set to "path" |
51 | | - "default_path": "~", |
52 | | - |
53 | | - // An integer value representing a folder index to be used when "folder" is specified |
54 | | - // for "default_root". If an index outside of the range of existing folders is used, |
55 | | - // it will default to 0 (the top level folder). |
56 | | - "default_folder_index": 0, |
57 | | - |
58 | | - |
59 | | - // This value specifies the root that will be used when resolving relative paths |
60 | | - // defined in aliases. For more information about valid values, see "default_root". |
61 | | - // Note that if "default_path" or "default_folder_index" is used, |
62 | | - // "alias_path" and "alias_folder_index" must be used for the respective entries. |
63 | | - "alias_root": "current", |
64 | | - |
65 | | - // A string specifying the path to use for the alias root. For this to be |
66 | | - // utilized, "alias_root" must be set to "path" |
67 | | - "alias_path": "~", |
68 | | - |
69 | | - // An integer value representing the folder index to use when "folder" is specified |
70 | | - // for "alias_root". If an index outside of the range of the existing folders is used, |
71 | | - // it will default to 0. |
72 | | - "alias_folder_index": 0, |
73 | | - |
74 | | - // A boolean specifying if case should be ignored when building |
75 | | - // auto complete list. |
76 | | - "ignore_case": false, |
77 | | - |
78 | | - // A boolean specifying if folders should automatically refresh and update the sidebar. |
79 | | - // In some builds, the sidebar does not refresh when contents of project folder are updated. |
80 | | - // This setting is required to refresh the sidebar in these circumstances. |
81 | | - // false by default |
82 | | - "auto_refresh_sidebar": false, |
83 | | - |
84 | | - // A string specifying the type of auto completion to use. Valid values are |
85 | | - // "windows" or "nix" |
86 | | - "completion_type": "windows", |
87 | | - |
88 | | - // A boolean setting specifying if a separator should be inserted when |
89 | | - // there is only one completion and completion type is "windows" |
90 | | - "complete_single_entry": true, |
91 | | - |
92 | | - // A boolean setting specifying if the folder name should be used |
93 | | - // or the name specified in the project. This setting only applies to ST3. |
94 | | - "use_folder_name": false, |
95 | | - |
96 | | - // Boolean setting specifying if relative paths should be based on the |
97 | | - // current working directory. |
98 | | - "relative_from_current": true, |
99 | | - |
100 | | - // String containing the default file extension. Note the extension is only applied |
101 | | - // if the specified path does not contain a dot (.) character. |
102 | | - "default_extension": "", |
103 | | - |
104 | | - // String representing permissions to be applied to newly created directories. |
105 | | - // e.g. "777" -> RWX for user, group, and other. |
106 | | - "folder_permissions": "", |
107 | | - |
108 | | - // String representing permissions to be applied to newly created files. |
109 | | - // e.g. "777" -> RWX for user, group, and other. |
110 | | - "file_permissions": "", |
111 | | - |
112 | | - // Default input for renaming a file. Special value <filename> will be replaced |
113 | | - // with the current file name. Special value <filepath> will be replaced with |
114 | | - // the complete filepath, including the filename. Special value <filedirectory> |
115 | | - // will be replaced with the filepath, not including the filename. Note that a |
116 | | - // colon as the default will resolve to the same path as <filedirectory>, if the |
117 | | - // file exists on disk. |
118 | | - "rename_default": "", |
119 | | - |
120 | | - // Setting to control if VCS management is used when moving and removing files. |
121 | | - "vcs_management": false, |
122 | | - |
123 | | - // An object containing information to use for templates when creating new files. |
124 | | - // The key values for this object should be a file extension. Files without extensions |
125 | | - // such as "Makefile" or ".bash_profile" use the full file name as the key. |
126 | | - // The value may either be a string of the content to be inserted or a list of paths. |
127 | | - // If a list of paths is specified, the name of the file will be displayed during |
128 | | - // selection. The paths must either be absolute, from the home directory of the |
129 | | - // user (`~/`), or relative to the Packages directory. These relative files should have |
130 | | - // the form "Packages/User/mytest.sublime-snippet". If a string is used, or the list |
131 | | - // contains a single entry, it will be automatically inserted into any newly created files. |
132 | | - "file_templates": {}, |
133 | | - |
134 | | - // Setting this value to true will allow you to escape characters as you normally |
135 | | - // would when using a shell. For example, given the input string "foo\ bar", false |
136 | | - // would result in a file named " bar" in the foo directory. With the value set to |
137 | | - // true, a file named "foo bar" would be created. In addition, setting this value |
138 | | - // to true will allow for curly brace expansion. Currently, only comma separated |
139 | | - // entries are supported. |
140 | | - "shell_input": false, |
141 | | - |
142 | | - // Setting to control if the extension will be automatically applied to renamed files. |
143 | | - "append_extension_on_move": false, |
144 | | - |
145 | | - // An integer value representing a folder index to be used when a relative path |
146 | | - // cannot be resolved from the current active view. If an index outside of the range |
147 | | - // of existing folders is used, it will default to 0 (the top level folder). If no |
148 | | - // folders exist as part of the project the home directory will be used. |
149 | | - "relative_fallback_index": 0, |
150 | | - |
151 | | - // Setting to control if the extension will be automatically applied to copied files. |
152 | | - "append_extension_on_copy": true, |
153 | | - |
154 | | - // Same as `rename_default`, but applied to copy command. |
155 | | - "copy_default": "", |
156 | | - |
157 | | - // Same as `rename_default`, but applied to cut to default command. |
158 | | - "cut_to_file_default": "", |
159 | | - |
160 | | - // If default_root is set to current, the project folder should be used as the default |
161 | | - // rather than the home directory. |
162 | | - "current_fallback_to_project": false, |
163 | | - |
164 | | - // If a warning should be displayed when trying to overwrite an existing file using |
165 | | - // the move command. |
166 | | - "warn_overwrite_on_move": false, |
167 | | - |
168 | | - // Same as `default_root` for new file commands. In addition to the valid values listed |
169 | | - // for `default_root`, "default_root" will use the value for that setting. |
170 | | - "new_file_default_root": "default_root", |
171 | | - |
172 | | - // Same as `default_root` for rename file commands. In addition to the valid values listed |
173 | | - // for `default_root`, "default_root" will use the value for that setting. |
174 | | - "rename_file_default_root": "default_root", |
175 | | - |
176 | | - // Same as `default_root` for copy file commands. In addition to the valid values listed |
177 | | - // for `default_root`, "default_root" will use the value for that setting. |
178 | | - "copy_file_default_root": "default_root", |
179 | | - |
180 | | - // On empty input of file name, execute an alternative action. |
181 | | - // Currently only implemented for the new file command, which will open a new unnamed file. |
182 | | - "empty_filename_action": false, |
183 | | - |
184 | | - // When specifying initial input, this boolean will place the cursor prior to the .<content> |
185 | | - "cursor_before_extension": false |
| 2 | +// This setting contains a dictionary of aliases. The keys represent the |
| 3 | +// alias names, the values represent the paths. |
| 4 | +// NOTE: These should be absolute paths. Also, these paths should |
| 5 | +// match your systems convention. For example, Windows machines should |
| 6 | +// have paths similar to "C:\\Users\\username\\Desktop". *nix systems should |
| 7 | +// have paths similar to "/home/username/desktop". |
| 8 | +"alias": {}, |
| 9 | + |
| 10 | +// This is a secondary field for aliases. These aliases will be platform specific. |
| 11 | +// The key for the entry will still represent the name to be used for the alias. |
| 12 | +// Rather than being just a string path, the value will be a nested dictionary. |
| 13 | +// The dictionary may have one of three keys, "windows", "linux", or "osx". |
| 14 | +// The path used for this alias will be based on the operating system being used. |
| 15 | +"os_specific_alias": {}, |
| 16 | + |
| 17 | +// A default initial value to fill the create new file input path with. |
| 18 | +"default_initial": "", |
| 19 | + |
| 20 | +// When renaming a file it will we pre populated with the file existing filename. |
| 21 | +"autofill_path_the_existing": false, |
| 22 | + |
| 23 | +// A boolean defining if cursor text should be used. Text bound by single or |
| 24 | +// double quotes or within a region will be used. If multiple cursors |
| 25 | +// are used, the earliest selection containing a region or existing |
| 26 | +// within quotes will be used. |
| 27 | +// NOTE: A value read from cursor will override the default |
| 28 | +// initial string setting. |
| 29 | +"use_cursor_text": false, |
| 30 | + |
| 31 | +// A boolean value specifying if regular files should be included in the auto |
| 32 | +// complete options. |
| 33 | +"show_files": false, |
| 34 | + |
| 35 | +// A boolean specifying if the file path being created should be displayed in |
| 36 | +// the status bar. |
| 37 | +"show_path": true, |
| 38 | + |
| 39 | +// This value specifies the default directory when using AdvancedNewFile. |
| 40 | +// Note it must be one of these values: |
| 41 | +// project_folder - Default will be the folder index specified by the "default_folder_index" setting. |
| 42 | +// current - Default will be the directory of the current view. |
| 43 | +// home - Default will be the home folder (~/) |
| 44 | +// path - Default will be defined by the setting "default_path" |
| 45 | +// If the current view or top folder cannot be resolved, the home directory |
| 46 | +// will be used. |
| 47 | +"default_root": "project_folder", |
| 48 | + |
| 49 | +// A string specifying the default root to use. For this to be utilized, |
| 50 | +// "default_root" must be set to "path" |
| 51 | +"default_path": "~", |
| 52 | + |
| 53 | +// An integer value representing a folder index to be used when "folder" is specified |
| 54 | +// for "default_root". If an index outside of the range of existing folders is used, |
| 55 | +// it will default to 0 (the top level folder). |
| 56 | +"default_folder_index": 0, |
| 57 | + |
| 58 | + |
| 59 | +// This value specifies the root that will be used when resolving relative paths |
| 60 | +// defined in aliases. For more information about valid values, see "default_root". |
| 61 | +// Note that if "default_path" or "default_folder_index" is used, |
| 62 | +// "alias_path" and "alias_folder_index" must be used for the respective entries. |
| 63 | +"alias_root": "current", |
| 64 | + |
| 65 | +// A string specifying the path to use for the alias root. For this to be |
| 66 | +// utilized, "alias_root" must be set to "path" |
| 67 | +"alias_path": "~", |
| 68 | + |
| 69 | +// An integer value representing the folder index to use when "folder" is specified |
| 70 | +// for "alias_root". If an index outside of the range of the existing folders is used, |
| 71 | +// it will default to 0. |
| 72 | +"alias_folder_index": 0, |
| 73 | + |
| 74 | +// A boolean specifying if case should be ignored when building |
| 75 | +// auto complete list. |
| 76 | +"ignore_case": false, |
| 77 | + |
| 78 | +// A boolean specifying if folders should automatically refresh and update the sidebar. |
| 79 | +// In some builds, the sidebar does not refresh when contents of project folder are updated. |
| 80 | +// This setting is required to refresh the sidebar in these circumstances. |
| 81 | +// false by default |
| 82 | +"auto_refresh_sidebar": false, |
| 83 | + |
| 84 | +// A string specifying the type of auto completion to use. Valid values are |
| 85 | +// "windows" or "nix" |
| 86 | +"completion_type": "windows", |
| 87 | + |
| 88 | +// A boolean setting specifying if a separator should be inserted when |
| 89 | +// there is only one completion and completion type is "windows" |
| 90 | +"complete_single_entry": true, |
| 91 | + |
| 92 | +// A boolean setting specifying if the folder name should be used |
| 93 | +// or the name specified in the project. This setting only applies to ST3. |
| 94 | +"use_folder_name": false, |
| 95 | + |
| 96 | +// Boolean setting specifying if relative paths should be based on the |
| 97 | +// current working directory. |
| 98 | +"relative_from_current": true, |
| 99 | + |
| 100 | +// String containing the default file extension. Note the extension is only applied |
| 101 | +// if the specified path does not contain a dot (.) character. |
| 102 | +"default_extension": "", |
| 103 | + |
| 104 | +// String representing permissions to be applied to newly created directories. |
| 105 | +// e.g. "777" -> RWX for user, group, and other. |
| 106 | +"folder_permissions": "", |
| 107 | + |
| 108 | +// String representing permissions to be applied to newly created files. |
| 109 | +// e.g. "777" -> RWX for user, group, and other. |
| 110 | +"file_permissions": "", |
| 111 | + |
| 112 | +// Default input for renaming a file. Special value <filename> will be replaced |
| 113 | +// with the current file name. Special value <filepath> will be replaced with |
| 114 | +// the complete filepath, including the filename. Special value <filedirectory> |
| 115 | +// will be replaced with the filepath, not including the filename. Note that a |
| 116 | +// colon as the default will resolve to the same path as <filedirectory>, if the |
| 117 | +// file exists on disk. |
| 118 | +"rename_default": "", |
| 119 | + |
| 120 | +// Setting to control if VCS management is used when moving and removing files. |
| 121 | +"vcs_management": false, |
| 122 | + |
| 123 | +// An object containing information to use for templates when creating new files. |
| 124 | +// The key values for this object should be a file extension. Files without extensions |
| 125 | +// such as "Makefile" or ".bash_profile" use the full file name as the key. |
| 126 | +// The value may either be a string of the content to be inserted or a list of paths. |
| 127 | +// If a list of paths is specified, the name of the file will be displayed during |
| 128 | +// selection. The paths must either be absolute, from the home directory of the |
| 129 | +// user (`~/`), or relative to the Packages directory. These relative files should have |
| 130 | +// the form "Packages/User/mytest.sublime-snippet". If a string is used, or the list |
| 131 | +// contains a single entry, it will be automatically inserted into any newly created files. |
| 132 | +"file_templates": {}, |
| 133 | + |
| 134 | +// Setting this value to true will allow you to escape characters as you normally |
| 135 | +// would when using a shell. For example, given the input string "foo\ bar", false |
| 136 | +// would result in a file named " bar" in the foo directory. With the value set to |
| 137 | +// true, a file named "foo bar" would be created. In addition, setting this value |
| 138 | +// to true will allow for curly brace expansion. Currently, only comma separated |
| 139 | +// entries are supported. |
| 140 | +"shell_input": false, |
| 141 | + |
| 142 | +// Setting to control if the extension will be automatically applied to renamed files. |
| 143 | +"append_extension_on_move": false, |
| 144 | + |
| 145 | +// An integer value representing a folder index to be used when a relative path |
| 146 | +// cannot be resolved from the current active view. If an index outside of the range |
| 147 | +// of existing folders is used, it will default to 0 (the top level folder). If no |
| 148 | +// folders exist as part of the project the home directory will be used. |
| 149 | +"relative_fallback_index": 0, |
| 150 | + |
| 151 | +// Setting to control if the extension will be automatically applied to copied files. |
| 152 | +"append_extension_on_copy": true, |
| 153 | + |
| 154 | +// Same as `rename_default`, but applied to copy command. |
| 155 | +"copy_default": "", |
| 156 | + |
| 157 | +// Same as `rename_default`, but applied to cut to default command. |
| 158 | +"cut_to_file_default": "", |
| 159 | + |
| 160 | +// If default_root is set to current, the project folder should be used as the default |
| 161 | +// rather than the home directory. |
| 162 | +"current_fallback_to_project": false, |
| 163 | + |
| 164 | +// If a warning should be displayed when trying to overwrite an existing file using |
| 165 | +// the move command. |
| 166 | +"warn_overwrite_on_move": false, |
| 167 | + |
| 168 | +// Same as `default_root` for new file commands. In addition to the valid values listed |
| 169 | +// for `default_root`, "default_root" will use the value for that setting. |
| 170 | +"new_file_default_root": "default_root", |
| 171 | + |
| 172 | +// Same as `default_root` for rename file commands. In addition to the valid values listed |
| 173 | +// for `default_root`, "default_root" will use the value for that setting. |
| 174 | +"rename_file_default_root": "default_root", |
| 175 | + |
| 176 | +// Same as `default_root` for copy file commands. In addition to the valid values listed |
| 177 | +// for `default_root`, "default_root" will use the value for that setting. |
| 178 | +"copy_file_default_root": "default_root", |
| 179 | + |
| 180 | +// On empty input of file name, execute an alternative action. |
| 181 | +// Currently only implemented for the new file command, which will open a new unnamed file. |
| 182 | +"empty_filename_action": false, |
| 183 | + |
| 184 | +// When specifying initial input, this boolean will place the cursor prior to the .<content> |
| 185 | +"cursor_before_extension": false |
186 | 186 | } |
0 commit comments