json Sublime Text 3的默认sftp-config.json设置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Sublime Text 3的默认sftp-config.json设置相关的知识,希望对你有一定的参考价值。
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help
// sftp, ftp or ftps
"type": "ftp",
"save_before_upload": true,
"upload_on_save": true,
"sync_down_on_open": true,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": true,
"host": "example.com",
"user": "username",
// "password": "",
// "port": "21",
"remote_path": "/wp-content/themes/theme-name",
"ignore_regexes": [
// Defaults
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini",
"\\.bowerrc", "\\.git", "\\.gitignore",
// Cache
"\\.scss", "\\.scssc", "\\.scss-cache", "\\.sass-cache", "\\.codekit-cache",
// Assets
"assets/scss/", "scss/",
// Packages
"bower_components/", "node_modules", "npm-debug.log"
],
//"file_permissions": "664",
//"dir_permissions": "775",
//"extra_list_connections": 0,
"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
//"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],
//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,
}
以上是关于json Sublime Text 3的默认sftp-config.json设置的主要内容,如果未能解决你的问题,请参考以下文章
WebSublime Text 3 连接sftp/ftp(远程服务器)
json Sublime Text 3自定义
json Sublime Text 2/3首选项
json Sublime Text 3首选项
json Sublime Text 3 - 用户首选项
json #Sublime Text 3 - 用户设置