Sublime Text 3 使用手册

本文介绍了如何使用Sublime Text安装PackageControl,并通过PackageControl安装其他插件的方法。此外,还分享了一套详细的Sublime Text配置示例以及推荐的插件列表。

一、Package Control 安装方法

     单击 View > Show Console 输入以下代码并重启Sublime:

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())

 

二、Package Control安装插件的方法

  1. 按下Ctrl+Shift+P调出命令面板
  2. 输入install 调出 Install Package 选项并回车,然后在列表中选中要安装的插件。

 

三、我使用的插件及配置

  配置:

{
"always_show_minimap_viewport": false,
"auto_complete_commit_on_tab": false,
"auto_find_in_selection": true,
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
"drag_text": false,
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "UTF-8",
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage",
"Vintageous"
],
"indent_guide_options":
[
"draw_active",
"draw_normal"
],
"indent_to_bracket": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"preview_on_click": false,
"rulers":
[
80
],
"scroll_past_end": true,
"shift_tab_unindent": true,
"show_encoding": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true,
"wrap_width": 80,
"auto_complete_triggers":
[ {"selector": "source.python - string - comment - constant.numeric", "characters": " "}, {"selector": "source.python - string - comment - constant.numeric", "characters": "."} ]

}

  插件:

SublimeREPL,Anaconda

 

转载于:https://www.cnblogs.com/killingwolf/p/4950534.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值