常用
ctrl + shift + L 多行模式
ctrl + shift + n 遞增
%AppData%\Sublime Text 3\Packages\User\snippets
sublime 34
- ctrl + shit + p,然後輸入install Package
- ChineseLocalizations 中文化 { “version”: “1.11.7”, “language”: “ZH_TW”, }
- Insert Nums 插入行號
- gofmt 格式化GO語法
- Sublime-HTMLPrettify 格式化Html語法
BracketHighlighter 括弧
ctrl + shit + p , prv
- Package Resource Viewer: Open Resource
- go
#user
{
"bracket_styles": {
"default": {
"color": "entity.name.class",
"style": "highlight",
"quote_scope" : "bracket.quote",
"curly_scope" : "bracket.curly",
"round_scope" : "bracket.round",
"square_scope": "bracket.square",
"angle_scope" : "bracket.angle",
"tag_scope" : "bracket.tag",
// 高亮樣式 (solid|outline|underline|none)
"quote_style" : "solid",
"curly_style" : "solid",
"round_style" : "solid",
"square_style": "solid",
"angle_style" : "solid",
"tag_style" : "outline"
},
}
}
Emmt #settings
{
"snippets":{
"html":{
"snippets":{
"ff" : "<%= form_for ${1:} %>\n<% end %>",
"sf" : "<%= simple_form_for ${1:} %>\n<% end %>",
"fl" : "<%= link_to ${1:} %>",
"fb" : "<%= button_to ${1:} %>",
"fe" : "<%= ${1:} %>",
"ee" : "<% ${1:} %>",
"eif" : "<% if ${1:} %>",
"ed" : "<% end %>",
"else" : "<% else %>"
}
}
}
}
pythonpep8autoformat
SublimeLinter-ruby
1 2 3 4 5 6 7 |
|
sublime 2
- 中文化 %APPDATA%\Sublime Text 2\Packages\Default
- 安裝套件 https://sublime.wbond.net/installation
- ctrl +shit+p,然後輸入install Package
- 多行編輯 ctrl + shift + L
beautifyruby
"default_line_ending": "unix"