I’ve been using Sublime Text since 2011 and since the beginning I was madly in love with this editor. Many new alternatives are available, but I am so used to the super fast and extensibility of this editor that I can not leave it…
I’ve tried Atom for a while but no luck..
Features
- “Goto Anything,” quick navigation to files, symbols, or lines
- “Command palette” uses adaptive matching for quick keyboard invocation of arbitrary commands
- Simultaneous editing: simultaneously make the same interactive changes to multiple selected areas
- Python-based plugin API
- Project-specific preferences
- Extensive customizability via JSON settings files, including project-specific and platform-specific settings
- Cross platform (Windows, OS X, Linux)
- Compatible with many language grammars from TextMate
- Plugin system
You can download it for Free here. But if you don’t want an annoying popup reminder you can buy it. I have done it, worth every penny!
Plugins I use for PHP
Note: I use Sublime 3 which is in Beta, but works great 😉 so this plugin will work on ST3.
First you will need to install package control makes really easy to install plugins.
- DocBlockr – Simplifies writing DocBlock comments
- GotoDocumentation – Put your cursor in top of a function press F1 and go to the official docs 😉
- LiveReload – Sync your browser and code on save. Awesome plugin which will save you lot of time to see changes on the go. Remember to install the chrome extension here — if you want to use it with local files, be sure to enable “Allow access to file URLs” checkbox in Tools > Extensions > LiveReload after installation. Also important on Sublime go to Preferences->Package Settings-> LiveReload->Plugins->Enable Simple Reload.
- Phix Color Scheme – Not a plugin but a great theme, used it almost since the beginning. 😉
- SideBarEnhancements – Create folders, move files etc. from the sidebar, a must have!
- SublimeCodeIntel – Full-featured code intelligence and smart autocomplete engine
- SublimeLinter-php – Check errors on your PHP files 😉 first you need to install SublimeLinter
To learn more you can follow this free course explains most of tweaks and tricks to be up and running in no time.
Features via wikipedia.
Settings
{
"color_scheme": "Monokai.sublime-color-scheme",
"fade_fold_buttons": false,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"show_full_path": true
}
Keys
[
{ "keys": ["f1"], "command": "goto_documentation" },
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } },
]