开发者

Format PHP code using a coding standard

It is possible to开发者_StackOverflow configure Eclipse PDT to format my php code after a standard like MySource or Zend?


You looking for code indentation .

I hope this may help you

http://drupal.org/node/75242

https://github.com/ginatrapani/ThinkUp/wiki/Developer-Guide:-Setting-Up-Eclipse-PDT


You can, except maybe max line length. Preferences->PHP->Code Style->Formatter will change indention.

Preferences->General->Workspace will change text file formatting (i.e; line termination)

Preferences->PHP->Editor->Typing there is an option for closing PHP tag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜