My two favorite color schemes are Dracula and Solarized Dark (provided by default). In the general release of Sublime Text 3, the team added a new theme called Adaptive which will automatically adjust the appearance of the sidebar and tab bar to match the chosen color scheme. All Autocomplete will add auto-complete entries for all the files that you have open, making it easy to reference methods for classes you have open. The Babel plugin adds ES6 and JSX syntax highlighting.
#Sublime text editor auto html layout shortcut code
GitGutter will show you added and modified lines in the sidebar, making it easy to find new code you have written. Vintageous adds vim keybindings (one of my favorite plugins). DocBlockr will auto-generate doc blocks for your PHP methods, making documentation much easier. In particular, I really like the Find Use command which will automatically add a use statement at the top of your file for the class name under your cursor. Sublime PHP Companion adds several helpful commands for PHP development. In no particular order, here is a list of all the ones I find most useful. There are so many plugins for Sublime Text, it can be difficult finding the good and helpful ones. Sublime Text supports font ligatures now which makes your code look really clean. It’s a really nice font that has ligatures. It will cause Sublime to highlight the line the cursor is on, making it really easy to find where you are typing. One of my favorite convenience settings is the highlight_line preference.
![sublime text editor auto html layout shortcut sublime text editor auto html layout shortcut](https://www.tutorialspoint.com/sublime_text/images/installation_downloading_setup.jpg)
If you are curious, the blank last line is to make git diffs not appear for adding a return character to the above line when you start adding more code to the file. Often I forget to add an empty line at the end of the file, so the ensure_newline_at_eof_on_save setting will do it for you automatically.
![sublime text editor auto html layout shortcut sublime text editor auto html layout shortcut](https://static.techspot.com/images2/downloads/topdownload/2017/09/C9LqjoBXYAE-P6k.png)
The tab settings ensure I’m always using a four space tab for indentation (yes, I prefer spaces to tabs). PSR-2 sets a preferred limit at 80 characters and a soft limit at 120, so I show a vertical line at both lengths to know when I pass the limit. The rulers setting shows a vertical line in your editor as a guide for the line length.
![sublime text editor auto html layout shortcut sublime text editor auto html layout shortcut](https://www.tutorialbrain.com/wp-content/uploads/2019/09/Brackets_extension_manager.png)
I follow the PSR-2 style guide provided by the PHP-FIG so several of these settings have been very helpful in maintaining that style. Enter fullscreen mode Exit fullscreen mode