-
-
Notifications
You must be signed in to change notification settings - Fork 818
/
Package Control.sublime-settings
291 lines (254 loc) · 10 KB
/
Package Control.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
{
// A list of URLs that each contain a JSON file with a list of repositories.
// The repositories from these channels are placed in order after the
// repositories from the "repositories" setting
"channels": [
// channel_v4 for python 3.8 compatible libraries to enable plugins
// to migrate to python 3.8 until packagecontrol.io supports new scheme.
// Note: Must always be located before default channel in the list!
// Repo: https://github.com/packagecontrol/channel
"https://packagecontrol.github.io/channel/channel_v4.json",
// default channel for packages
// Repo: https://github.com/wbond/package_control_channel
"https://packagecontrol.io/channel_v3.json"
],
// A list of URLs that contain a packages JSON file or point to a
// Github, GitLab or BitBucket user, repository or reference.
//
// Examples:
//
// https://my-server.com/packages/repository.json
// https://github.com/{user}
// https://github.com/{user}/{repo}
// https://github.com/{user}/{repo}/tags
// https://github.com/{user}/{repo}/tree/{branch}
//
// Note:
//
// Authentication via `http_basic_auth` setting may be required to avoid
// hitting rate limit too early and often, if many codehoster repositories
// are listed here.
//
// These repositories are placed in order before repositories from
// the "channels" setting.
"repositories": [],
// A list of packages, which have been installed via Package Control.
//
// All packages in this list are automatically installed at start,
// if missing on filesystem (see: ``install_missing``).
//
// Values of all all found Package Control.sublime-settings are merged to
// determine the list of packages to install. Any package can therefore
// ship a list of required packages, it wants to also be installed.
// Such packages are can't be uninstalled by user and aren't added to
// Packages/User/Package Control.sublime-settings
"installed_packages": [],
// A list of packages to install pre-release versions for. Versions
// under 1.0.0 are not considered pre-release, only those using the SemVer
// -prerelease suffixes will be ignored if the package is not in this
// list.
"install_prereleases": [],
// This helps solve naming issues where a repository is not named the
// same as the package should be. This is primarily only useful for
// GitHub, Gitlab and BitBucket repositories. This mapping will override
// the mapping that is retrieved from the repository channels.
"package_name_map": {},
// If debugging information for HTTP/HTTPS connections should be printed
// to the Sublime Text console
"debug": false,
// Print package install and upgrade messages.
// Valid values are:
// - "disabled": don't print anything
// - "background": open message view in background
// - "foreground": open message view in foreground
// - "auto": focus messages depending on command mode (unattended)
"print_messages": "auto",
// If package install, upgrade and removal info should be submitted to
// the channel for aggregated statistics
"submit_usage": true,
// The URL to post install, upgrade and removal notices to
"submit_url": "https://packagecontrol.io/submit",
// Maximum days to keep backups. All older ones are removed when ST starts
"max_backup_age": 14,
// If missing packages should be automatically installed when ST starts
"install_missing": true,
// If a package was installed by Package Control (has a
// package-metadata.json file) but is not in installed_packages, remove it
// based upon the assumption that it was removed on another machine and
// the Package Control.sublime-settings file was synced to this machine.
"remove_orphaned": true,
// If incompatible packages should be automatically upgraded when ST starts.
// If ST is upgraded or moved to other computers, installed packages may
// become incompatible with either ST, OS or CPU architecture.
"auto_migrate": true,
// If packages should be automatically upgraded when ST starts
"auto_upgrade": true,
// The minimum frequency in hours in which to check for automatic upgrades,
// setting this to 0 will always check for automatic upgrades
"auto_upgrade_frequency": 8,
// Packages to not auto upgrade
"auto_upgrade_ignore": [],
// Timeout for downloading channels, repositories and packages. Doesn't
// have an effect on Windows due to a bug in WinINet.
"timeout": 30,
// The number of seconds to cache repository and package info for
"cache_length": 300,
// An HTTP proxy server to use for requests. Not normally used on Windows
// since the system proxy configuration is utilized via WinINet.
"http_proxy": "",
// An HTTPS proxy server to use for requests - this will inherit from
// http_proxy if it is set to "" or null and http_proxy has a value. You
// can set this to false to prevent inheriting from http_proxy. Not
// normally used on Windows since the system proxy configuration is
// utilized via WinINet.
"https_proxy": "",
// Username and password for both http_proxy and https_proxy. May be used
// with WinINet to set credentials for system-level proxy config.
"proxy_username": "",
"proxy_password": "",
// If HTTP responses should be cached to disk
"http_cache": true,
// Number of seconds to cache HTTP responses for, defaults to one week
"http_cache_length": 604800,
// User agent for HTTP requests. If "%s" is present, will be replaced
// with the current version.
"user_agent": "Package Control v%s",
// Username and password support for private repositories, or for
// bypassing anonymous user download limits on services.
//
// Each entry should be a key of the domain name, with a 2-element list
// as the value, first the username and then the password. Examples of
// common hosting platforms below:
//
// {
// "api.github.com": ["username", "personal access token"],
// "gitlab.com": ["username", "personal access token"],
// "api.bitbucket.org": ["username", "app password"],
// }
"http_basic_auth": {},
// A list of package names to ignore when performing operations. This will
// only affect packages that appear to be a git or hg repository, but will
// be especially useful for package developers who manually deal with the
// repository and don't want Package Control touching it.
//
// It can help if trying to list packages to install hangs, possibly due
// to an interactive prompt.
//
// The setting can also be set to the boolean true to ignore all git and hg
// repositories, no matter what the name.
"ignore_vcs_packages": [],
// Custom path(s) to "git" binary for when it can't be automatically
// found on the system and a package includes a .git metadata directory.
// Supports more than one path to allow users to sync settings across
// operating systems.
"git_binary": [],
// This should NOT contain the name of the remote or branch - that will
// be automatically determined.
"git_update_command": ["pull", "--ff-only", "--quiet"],
// Custom path(s) to "hg" binary for when it can't be automatically
// found on the system and a package includes a .hg metadata directory.
// Supports more than one path to allow users to sync settings across
// operating systems.
"hg_binary": [],
// For HG repositories, be sure to use "default" as the remote URL.
// This is the default behavior when cloning an HG repo.
"hg_update_command": ["pull", "--update"],
// Additional packages to ignore when listing unmanaged packages.
"unmanaged_packages_ignore": [],
// The downloader backends that should be used for HTTP(S) requests, split
// by operating system to allow for configuration to be shared.
//
// Valid options include: "urllib", "oscrypto", "curl", "wget",
// (Windows-only) "wininet"
//
// This setting allows Windows users to bypass wininet and use urllib
// instead if they machine or network presents trouble to wininet. Some
// OS X and Linux users have also reported better luck with certain
// proxies using curl or wget instead of urllib.
//
// The "curl" and "wget" options require the command line "curl" or "wget"
// program installed and present in the PATH.
"downloader_precedence": {
"windows": ["wininet", "oscrypto", "urllib"],
"osx": ["urllib", "oscrypto", "curl"],
"linux": ["urllib", "oscrypto", "curl", "wget"]
},
// Directories to ignore when creating a package
"dirs_to_ignore": [
".circleci",
".git",
".github",
".hg",
".svn",
"_darcs",
"CVS"
],
// Files to ignore when creating a package
"files_to_ignore": [
"*.sublime-project",
"*.sublime-workspace",
"*.tmTheme.cache",
".bzrignore",
".gitignore",
".gitattributes",
".hgignore",
".codecov.yml",
".travis.yml",
"appveyor.yml",
"codecov.yml",
"*.pyc",
".coveragerc",
".flake8",
"pyproject.toml",
"tox.ini",
"mypy.ini"
],
// Files to include, even if they match a pattern in files_to_ignore
"files_to_include": [],
// When a package is created, copy it to this folder - defaults to Desktop
"package_destination": "",
// A way to create different packaging profiles for different types of
// package releases, such as for different platforms or binary-only
// releases.
//
// The key of the object will be the profile name and a list of them will
// be presenting when running the "Create Package File" command. The
// profile "Default" will use the top-level version on the following
// settings:
//
// - "dirs_to_ignore"
// - "files_to_ignore"
// - "files_to_include"
// - "package_destination"
//
// If a profile does not include one of those three setting, it will fall
// back to the top-level settings.
"package_profiles": {
"Binaries Only": {
// Exclude all .py files, but consequently include all .pyc files
"files_to_ignore": [
"*.sublime-project",
"*.sublime-workspace",
"*.tmTheme.cache",
".bzrignore",
".gitignore",
".gitattributes",
".hgignore",
".codecov.yml",
".travis.yml",
"appveyor.yml",
"codecov.yml",
"*.py",
".coveragerc",
".flake8",
"pyproject.toml",
"tox.ini",
"mypy.ini"
],
// Include __init__.py so Sublime Text will load the package
"files_to_include": [
"__init__.py"
]
}
},
}