Skip to content

Instantly share code, notes, and snippets.

@adong
Created February 28, 2023 19:57
Show Gist options
  • Save adong/8b3d9fa6ad281b2f4a649d2024f11a5d to your computer and use it in GitHub Desktop.
Save adong/8b3d9fa6ad281b2f4a649d2024f11a5d to your computer and use it in GitHub Desktop.
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"AdvancedNewFile",
"Babel",
"CodeIgniter Snippets",
"Color Highlight",
"Color Highlighter",
"CopyWithLineNumbersReloaded",
"CursorRuler",
"DocBlockr",
"Ember CLI Snippets",
"Ember Template Component Split View",
"Ember.js Snippets",
"Emmet",
"ERB Snippets",
"Handlebars",
"HTML-CSS-JS Prettify",
"JavaScript & NodeJS Snippets",
"Javascript Beautify",
"jQuery",
"JSCS-Formatter",
"LESS",
"Markdown Extended",
"MarkdownEditing",
"Material Theme",
"MoveTab",
"Package Control",
"PackageResourceViewer",
"PackageSync",
"Pretty JSON",
"Sass",
"SideBarEnhancements",
"SublimeERB",
"SublimeGit",
"SublimeLinter",
"SublimeLinter-annotations",
"SVG Preview",
"SyncedSideBar",
"TrailingSpaces",
"TypeScript Syntax",
"YAML Nav"
],
}
@adong
Copy link
Author

adong commented Feb 28, 2023

{
	// 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": [
		"https://packagecontrol.io/channel_v3.json"
	],

	// A list of URLs that contain a packages JSON file. These repositories
	// are placed in order before repositories from the "channels"
	// setting
	"repositories": [],

	// 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": [],

	// If debugging information for HTTP/HTTPS connections should be printed
	// to the Sublime Text console
	"debug": false,

	// This helps solve naming issues where a repository it not named the
	// same as the package should be. This is primarily only useful for
	// GitHub and BitBucket repositories. This mapping will override the
	// mapping that is retrieved from the repository channels.
	"package_name_map": {},

	// 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",

	// If packages should be automatically upgraded when ST starts
	"auto_upgrade": true,

	// 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,

	// 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": 1,

	// 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. However,
	// if WinINet is not working properly, this will be used by the Urllib
	// downloader, which acts as a fallback.
	"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. However, if WinINet is not working properly, this
	// will be used by the Urllib downloader, which acts as a fallback.
	"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",

	// 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", "--commit"],

	// 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"],
		"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"
			]
		}
	},

	// Enable the ability to run the tests - this is only for development
	"enable_tests": false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment