- Package Control
- PackageResourceViewer
- Alignment
- AutoFileName
- Autoprefixer
- Babel
- Babel Snippets
- Bracket Highlighter
- Colorpicker
- ChangeQuotes
- DeleteBlankLines
- EditorConfig
- EditorConfig Snippets
- Emmet
- Emmet CSS Snippets
- Emoji
- EncodingHelper
- Dockblockr
- Git
- Gitgutter
- Gist
- JavaScript Completions
- JSHint Gutter
- ScopeHunter
- Sidebar Enhancements
- HTML-CSS-JS Prettify
- HTML5
- MarkdownEditing
- phpfmt
- SmartMarkdown
- Trailing Spaces
- Markdown Preview
- LiveReload
- Origami
- Syntax Manager
[
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }
]
If you are working with React (or similar), there is one setting you need to pay attention to:
"e4x": true, // Pass E4X xml literals through untouched
See my full .jsbeautifyrc
settings file for other changes I have made. Note that in order for GitHub to display it all pretty like, I had to change the name of this file to jsbeautifyrc.js
but that will not work in Sublime Text.
Windows:
- Ctrl+Alt+Backspace --> Delete Blank Lines
- Ctrl+Alt+Shift+Backspace --> Delete Surplus Blank Lines
OSX:
- Fn+Ctrl+Option+Delete --> Delete Blank Lines
- Fn+Ctrl+Option+Shift+Delete --> Delete Surplus Blank Lines
Linux:
- Ctrl+Alt+Backspace --> Delete Blank Lines
- Ctrl+Alt+Shift+Backspace --> Delete Surplus Blank Lines
The main feature you gain from using this plugin is that of deleting all trailing spaces in the currently edited document. In order to use this deletion feature, you may either:
- click on "Edit / Trailing Spaces / Delete";
- bind the deletion command to a keyboard shortcut:
To add a key binding, open "Preferences / Key Bindings - User" and add:
{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" }
With this setting, pressing Ctrl + Shift + t will delete all trailing spaces at once in the current file! For OSX users, quoting wbond: "When porting a key binding across OSes, it is common for the ctrl key on Windows and Linux to be swapped out for super on OS X" (eg. use "super+ctrl+t" instead).
Beware: the binding from this example overrides the default ST's mapping for reopening last closed file. You can look at the default bindings in "Preferences / Key Bindings - Default".
At any time, you can toggle highlighting on and off. You may either:
- click on "Edit / Trailing Spaces / Highlight Regions"
- bind the toggling command to a keyboard shortcut:
// I like "d", as in "detect" (overrides a default binding, though).
{ "keys": ["ctrl+shift+d"], "command": "toggle_trailing_spaces" }
Using PackageResourceViewer, edit the Cobalt2.sublime-theme
file.
// Sidebar heading
{
"class": "sidebar_heading",
"color": [255, 255, 255],
"font.bold": true,
"shadow_color": [0, 0, 0],
"shadow_offset": [0, -1]
},
// Sidebar entry
{
"class": "sidebar_label",
"color": [255, 255, 255],
"shadow_color": [0, 0, 0],
"shadow_offset": [0, -1],
"font.size": 12
},
Install Node.js first.
- create-react-app
- grunt-cli@
- grunt-init@
- node-static
- serve
- webpack
To list all global modules:
npm list -g --depth=0
- Firebug for Chrome and Firefox
- Web Developer for Chrome and Firefox
- YSlow for Chrome and Firefox
- CSS Dig for Chrome
- High Contrast for Chrome
- Live HTTP Headers for Chrome
- User-Agent Switcher for Chrome
- WAVE Evaluation Tool for Chrome
- Juicy Studio Accessibility Toolbar for Firefox
- Window Resizer for Chrome
- React Devtools for Chrome and Firefox