Eclipse helios for PHP - formatting code not available

I am looking at the Eclipse helios settings page (3.6), and I see that I can set the code formatting options for Java code, but not for PHP.

How to set spacing for function arguments in Eclipse for PHP. It seems that the changes I make for Java are not related to the PHP code.

+4
source share
2 answers

I know that when I received Eclipse, I downloaded a version specifically designed for PHP: http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr1

The version you downloaded is probably the base version and does not contain additional PHP features.

EDIT: Check out http://en.sourceforge.jp/projects/pdt-tools/releases/?package_id=8764 for an Eclipse disclosure that you can use (the site is in Japanese, but I could easily find the download link). This may be what you are looking for. To install, simply place it in the dropins folder of your Eclipse installation and restart Eclipse.

+4
source

It took me a while to realize that this was my problem a couple of years ago.

Eclipse supports the PHP- only section of Eclipse , which includes everything you need to code PHP in Eclipse.

+1
source

Source: https://habr.com/ru/post/1339863/


All Articles