Installing Sublime Text Editor on Ubuntu
Lets install using the terminal. Execute the follows commands:
# echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
# wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
# apt update
# apt install sublime-text
Installing the Package Control
Open the sublime text and click in Tools > Install Package Control...
.
Installing a package
Click in Preferences > Package Control > Package Control: Install Package
.
Type the name of package and click on it.
Some iteresting packages
Name | Description | Common commands |
---|---|---|
HTML5 | Snippets for HTML5. | html5 |
HTML Snippets | Snippets for HTML. | doctype, meta, lorem |
JavaScript/NodeJS | Snippets for Javscript. | cl, gi, fn |
HTMLBeautify | Autoformat HTML code | Ctrl+Alt+Shift+F |
Markdown Table Formatter | Autoformat tables in markdown | Ctrl+Alt+Shift+T |
CodeFormatter | Autoformat your code | Ctrl+S |
phpfmt | Autoformat PHP. (need php). | Use CodeFormatter |
SublimeCodeIntel | Autocomplete code. | |
BracketHighlighter | Bracket and tag highlighter. | |
Markdown HTML Preview | Markdown HTML Preview | Ctrl+Shift+M |
Some iteresting packages
Nome: HTML5
Description: Snippets for HTML5.
Commands: html5
—
Nome: HTML Snippets
Description: Snippets for HTML.
Commands: doctype, meta, lorem
—