Sublime Text 配置

Sublime Text

macOS 安装配置Sublime Text

macOS 10.12.6
macOS 10.13

安装Package Control

The console is accessed via the ctrl+` shortcut or the View > Show Console menu.

查看安装命令Package Control Installtion

1
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

安装插件

via cmd + shift +p

input “install package”

Emmet

1
2


Pretty JSON

1
2
3
常用快捷键说明
ctrl+alt+j 格式化json字符串
ctrl+alt+m 压缩json字符串

HTML-CSS-JS Prettify

1
2
#格式化html、css、js
command+shift+h 格式化快捷键

P3-Assembly-Sublime-Text-Syntax

NASM x86 Assembly

Nessphoro/sublimeassembly

设置默认*.s文件打开使用此配色:View->Syntax->Open all with current extension as…,然后选择 Assembly x86 (NASM)

Codecs3

ConvertToUTF8 的依赖。

ConvertToUFT8

×

纯属好玩

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

文章目录
  1. 1. Sublime Text
    1. 1.1. macOS 安装配置Sublime Text
      1. 1.1.0.1. 安装Package Control
      2. 1.1.0.2. 查看安装命令Package Control Installtion
  2. 1.2. 安装插件
    1. 1.2.1. Emmet
    2. 1.2.2. Pretty JSON
    3. 1.2.3. HTML-CSS-JS Prettify
    4. 1.2.4. P3-Assembly-Sublime-Text-Syntax
    5. 1.2.5. NASM x86 Assembly
  3. 1.3. Codecs3
    1. 1.3.1. ConvertToUFT8
,