本文主要是介绍sublime text3常见插件的安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
使用Package Control组件安装也可以安装package control组件,然后直接在线安装:
按Ctrl+` 调出console
粘贴以下代码到底部命令行并回车:
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())
记得代码是一行而已,不要复制多行然后回车运行
重启Sublime Text 3。
按下Ctrl+Shift+P调出命令面板
输入install 调出 Install Package 选项并回车,然后在列表中选中要安装的插件。
接下来以安装检测js语法的SublimeLinter为例
- 按下
Ctrl+Shift+p
进入 Command Palette - 输入
install
进入 Package Control: Install Package - 输入
SublimeLinter
。进行安装.
安装完成后可以看到这样一段话:
Package Control Messages
========================
SublimeLinter
-------------
____ _ _ _ _ _ _
/ ___| _ _| |__ | (_)_ __ ___ ___| | (_)_ __ | |_ ___ _ __
\___ \| | | | '_ \| | | '_ ` _ \ / _ \ | | | '_ \| __/ _ \ '__|
___) | |_| | |_) | | | | | | | | __/ |___| | | | | || __/ |
|____/ \__,_|_.__/|_|_|_| |_| |_|\___|_____|_|_| |_|\__\___|_|
Welcome to SublimeLinter, a linter framework for Sublime Text 3.
* * * IMPORTANT! * * *
SublimeLinter 3 is NOT a drop-in replacement for
earlier versions.
Linters *NOT* included with SublimeLinter 3,
they must be installed separately.
The settings are different.
* * * READ THE DOCS! * * *
Otherwise you will never know how to install linters, nor will
you know about all of the great new features in SublimeLinter 3.
For complete documentation on how to install and use SublimeLinter,
please see:
http://www.sublimelinter.com
_ _ _ _
| | | | ___| |_ __ | |
| |_| |/ _ \ | '_ \| |
| _ | __/ | |_) |_|
|_| |_|\___|_| .__/(_)
|_|
Hundreds of hours have been spent writing and documenting SublimeLinter
to make it the best it can be — easy to use, easy to configure,
easy to update, easy to extend. If you use SublimeLinter and feel
it is making your coding life better and easier, please consider
making a donation to help fund development and support.
To donate: https://github.com/SublimeLinter/SublimeLinter3#share-the-love
Thank you!
这篇关于sublime text3常见插件的安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!