sublime text3安装pretty json

来源:互联网 发布:电子显示屏用什么软件 编辑:程序博客网 时间:2024/05/16 04:04

安装install package

cmd + `

输入

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

安装pretty json

cmd + shift +p

install package

pretty json

或者

cd /Users/xixicat/Library/Application Support/Sublime Text 3/Packagesgit clone https://github.com/dzhibas/SublimePrettyJson.git

格式化

ctrl+cmd+j
0 0
原创粉丝点击