Sublime
https://docs.sublimetext.io/guide/
- In
zsh, use oh-my-zsh withsublimeplugin - View > Hide Minimap
- Cmd/Ctrl-Shift-P, Install Package Control
- Cmd/Ctrl-Shift-P, Install Package
- ESLint-Formatter
- FileIcons
- LSP
- LSP-typescript
- Oceanic Next Italic Color Scheme
- Origami
- SublimeLinter
- SublimeLinter-eslint
- SublimeLinter-rubocop
- Terminus
- Preferences > Settings
{
"color_scheme": "Packages/Oceanic Next Italic Color Scheme/Oceanic Next Italic.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_face": "Dank Mono",
"font_size": 16,
"tab_size": 2,
"theme": "Default Dark.sublime-theme", // Adaptive is nice but has bad tab contrast
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": "not_on_caret",
"word_wrap": true
}
- Package Settings
- ESLint Formatter > Settings
{
"node_path": {
"linux": "/home/josh/.nvm/versions/node/v16.14.2/bin/node",
"osx": "/Users/josh/.nvm/versions/node/v16.14.2/bin/node"
},
"format_on_save": true
}
- Sublime Linter > Settings
{
"paths": {
"linux": ["/home/josh/.nvm/versions/node/v16.14.2/bin"],
"osx": [
"/Users/josh/.nvm/versions/node/v16.14.2/bin",
"~/.rbenv/shims"
]
}
}
- JSX syntax highlighting: open a JS file, choose View > Syntax > Open all with current extension as > JavaScript > JSX
LSP
Install packages:
Sometimes doesn't work because it can't find Node installed via my nvm
Snippet Packages
https://docs.sublimetext.io/guide/extensibility/snippets.html
- Create a folder in
~/Library/Application Support/Sublime Text/Packages/User/ - My snippets
Sidebar Font Size
- Create a file
Default.sublime-themein~/Library/Application Support/Sublime Text/Packages/User
[
{
"class": "sidebar_label",
"font.size": 18
}
]
Slapdash