开发者

eclipse helios for PHP - code formatter not available

开发者 https://www.devze.com 2023-02-11 09:33 出处:网络
I\'m looking at my Eclipse helios (3.6) preferences page, and I can see I can set code formatting settings for the Java code, but not for PHP.

I'm looking at my Eclipse helios (3.6) preferences page, and I can see I can set code formatting settings for the Java code, but not for PHP.

How can I set the spacing for function arguments in Eclip开发者_运维技巧se for PHP. It seems the changes I make for Java don't apply to the PHP code.


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

It's likely that the version you downloaded is the base version and does not have the additional PHP features included.

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


It took me a while to figure out that was my problem a couple years ago.

Eclipse maintains a section just for PHP Eclipse that includes everything you need for coding PHP in Eclipse.

0

精彩评论

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