安裝Sublime Text 3
下載地址:https://www.sublimetext.com
關(guān)于Package Control
Sublime Text 3已經(jīng)自帶安裝需要的Package Control扁掸。不需要再次安裝了娱节。
精選主題
http://www.css88.com/archives/6367
安裝配置主題Boxy Theme
官網(wǎng):https://packagecontrol.io/packages/Boxy%20Theme
在Sublime Text 3菜單中選擇Preferences → Package Control → Install Package → 輸入Boxy Theme → 選擇Boxy Theme安裝。
重啟Sublime Text 3田盈。
在Sublime Text 3菜單中選擇Preferences → Package Setting → Boxy Theme → Preferences → 打開配置文件拍冠。
-
在右側(cè)User文件中粘貼官網(wǎng)給出配置內(nèi)容尿这,保存。例如我選擇的Boxy Ocean ★ Material:
Boxy Ocean
配置內(nèi)容:
{
"color_scheme": "Packages/Boxy Theme/schemes/Boxy Ocean.tmTheme",
"font_size": 26,
"theme": "Boxy Ocean.sublime-theme",
"theme_accent_cyan": true,
"theme_bar": true,
"theme_bar_logo_atomized": true,
"theme_bar_shadow_hidden": true,
"theme_button_rounded": true,
"theme_dirty_colored_always": true,
"theme_icons_materialized": true,
"theme_scrollbar_rounded": true,
"theme_sidebar_highlight_selected_text_only": true,
"theme_sidebar_highlight_text_only": true,
"theme_sidebar_indent_top_level_disabled": true,
"theme_size_md": true,
"theme_tab_highlight_text_only": true,
"theme_tab_selected_transparent": true,
"theme_tab_selected_underlined": true,
"theme_tab_size_xxl": true,
"theme_unified": true
}
- 此主題還需要安裝額外的包庆杜,安裝方法和之前一樣:
重啟Sublime Text 3射众。
如果覺得字體大小不合適,可以使用?(command)+ (+晃财、-)進(jìn)行調(diào)整叨橱。
Go語言配置
安裝Go語言
在官網(wǎng) http://golang.org/下載安裝
查看是否安裝成功:
yuyangdeMacBook-Pro:~ yuyang$ go
Go is a tool for managing Go source code.
Usage:
go command [arguments]
The commands are:
build compile packages and dependencies
clean remove object files and cached files
doc show documentation for package or symbol
env print Go environment information
bug start a bug report
fix update packages to use new APIs
fmt gofmt (reformat) package sources
generate generate Go files by processing source
get download and install packages and dependencies
install compile and install packages and dependencies
list list packages
run compile and run Go program
test test packages
tool run specified go tool
version print Go version
vet report likely mistakes in packages
Use "go help [command]" for more information about a command.
Additional help topics:
c calling between Go and C
buildmode build modes
cache build and test caching
filetype file types
gopath GOPATH environment variable
environment environment variables
importpath import path syntax
packages package lists
testflag testing flags
testfunc testing functions
Use "go help [topic]" for more information about that topic.
Sublime Text 3安裝插件Go語言插件GoSublime
在Sublime Text 3中搜索GoSublime進(jìn)行安裝。
查看Preferences → Package Setting → GoSublime断盛,存在則說明安裝成功罗洗。