Sublime Forum

(Re)Formatting code

#1

Hello!

I have just been wondering if Sublime Text 3 could have the ability to run text formatting when requested.

It does exist in the PhpStorm software after hitting Cmd + Alt + L.

In this case (PHP) it keeps the PSR-2 by the standard. But it could be modified.

Thanks :smile:

0 Likes

#2

Sublime Text has pretty poor built-in code formatting, but there are plugins that will format PHP for you.

0 Likes

#3

plugins formating php,js,scss,html. But no one plugin correct format file with php+html inserts.
for this i use netbeans =(

0 Likes