It has always been a loyal supporter of eclipse. whether it is java development or php development, it has always adhered to the principle of using eclipse as the underlying development software, after the ecilipse7.0 Chinese version is installed on the computer recently, formatting the code will mess up the entire php and make php into an unexecutable code, I searched the internet and found that a senior friend has already shared it.
I have always been a loyal supporter of eclipse. I have been using eclipse as the underlying development software for java development and php development, after the ecilipse 7.0 Chinese version is installed on the computer recently, formatting the code will mess up the entire php and make php into an unexecutable code, after searching on the Internet, I found that a Renxiong has shared his formatting code configuration. of course, if you use the default system of eclipse 6.0, both of them can be formatted, only applicable to formatting eclipse 7.0 php code
Usage:
Open Window> Preferences> PHP> Formatter and select Import to Import the xml file.
Save the address as needed.
Download
Use the shortcut key Shift + Ctrl + F to format the code.