

These are the packages I use all the time. You can change settings accordingly to your needs. "node_path": "/home/tasqyn/.asdf/shims/node", "prettier_cli_path": "/home/tasqyn/.asdf/installs/nodejs/9.2.0/.npm/bin/prettier", Then install jsPrettier package and open settings file like we opened on phpfmt. Before using this package we must install prettier depency install with this command This package like phpfmt formats javascript code. This package is not for php but it is my go to package when working with javascript files. Also regular upload, download, save or file open. It supports remote folders browsing, editing and synchronization between local and remote files. Great package enabling very comfortable use of SFTP, FTP and FTPS. SideBarEnhancements as the name suggests extends sublime's sidebar. modified or deleted, updated? SideBarEnhancements Install it just like you installed phpfmt. This is a simpler version that only runs the linter, nothing else. SublimeLinter PHP (and its required dependency, SublimeLinter) rely on PHP's built-in linter.

Specify php_bin to location of php binary and don't forget to setįormat_on_save to true and then you can forget about all this as it Attention! never modify Settin_gs - Default file as the changes will be lost once Sublime updated.

Open config settings Preferences->Package Settings->phpfmt->Settings - User.
Sublime text 3 install package control code#
With PHPFMT you can format your code when you save file, to install packages using package control press Shift+Ctrl+P to open command pallette and type 'install' then type the package name you can to install in our case this is phpfmt.īefore we can use this package we must define path to php binary file. This packages is a must have for php developers. The first package I install after Package Control is phpfmt. Also we can browse packages on and you can read documentation, usage and configuration of packages. You can search and install other packages by name via opening command palette and typing Install Package then you just type the packages name you want to install. Now we can install other packages with Package Control. To install package control we open Command Palette, to open it go to Tools->Command Palette or with shortcut Shift+Ctrl+P on Linux. So let's start! Package Controlįirst things first, We need to install Package Control to install other packages. Sublime Text 3 has awesome packages for all kinds all things and in this blog post I will write about packages that make me happy when using for web development.
