Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHP code formatting
PHP code formatting [message #514530] Mon, 15 February 2010 17:11 Go to next message
Dave H is currently offline Dave HFriend
Messages: 43
Registered: January 2010
Member
I realize Eclipse doesn't have the PHP "Code Formatter" like Zend Studio, but it still uses the same hotkey (Ctrl+Shift+F) that runs the same "command" (Format), so where is it getting its formatting definitions? It formats it pretty close to what I like anyways, but it would nice to tweak it, even if it meant going outside of the program.

Where are these definitions stored and how do I modify them?
Re: PHP code formatting [message #515746 is a reply to message #514530] Sat, 20 February 2010 09:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ng.tomo.at

i use the PHP Code FormatterPrototype 0.95 Plugin available from

http://de.sourceforge.jp/projects/pdt-tools/releases/

and i am very happy with it, as it adds the missing fully configurable
formatter option to PDT. (the UI is in english, not japanese by the way)




Am 15.02.2010 18:11, schrieb David Hollingshead:
> I realize Eclipse doesn't have the PHP "Code Formatter" like Zend
> Studio, but it still uses the same hotkey (Ctrl+Shift+F) that runs the
> same "command" (Format), so where is it getting its formatting
> definitions? It formats it pretty close to what I like anyways, but it
> would nice to tweak it, even if it meant going outside of the program.
>
> Where are these definitions stored and how do I modify them?
Re: PHP code formatting [message #515894 is a reply to message #515746] Mon, 22 February 2010 07:15 Go to previous messageGo to next message
Eclipsus  is currently offline Eclipsus Friend
Messages: 1
Registered: February 2010
Junior Member
Hi,

could you provide some hints how to install this formatter?

I am quite new to Eclipse.

Thanks.
E.
Re: PHP code formatting [message #516485 is a reply to message #515894] Wed, 24 February 2010 08:26 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Download jp.sourceforge.pdt_tools.formatter.prototype_0.95.0.jar file into eclipse\dropins folder...
Re: PHP code formatting [message #517316 is a reply to message #514530] Fri, 26 February 2010 22:19 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
Toshiro, thanks for the tip. I've been looking for something like this.
Re: PHP code formatting [message #740964 is a reply to message #517316] Wed, 19 October 2011 03:42 Go to previous messageGo to next message
Ben K is currently offline Ben KFriend
Messages: 27
Registered: July 2009
Junior Member
sorry for resurrecting old thread.
I want to install the upgraded formatter for pdt on helios sr2
i've found links to the file to install...
but the project is dead, there are no release files, google turns up nothing else
anyone know how to install this formatter for php?


I can see the files here:
http://sourceforge.jp/projects/pdt-tools/releases/52058]http://sourceforge.jp/projects/pdt-tools/releases/52058

but can't download them as no files will download

http://en.sourceforge.jp/projects/pdt-tools/downloads/52058/pdt_tools.formatter_1.1.0.zip

Quote:
Tools for PDT (PHP Development Tools)
Download Error - File Not Found

Please check URL and try another one.

[Updated on: Wed, 19 October 2011 04:20]

Report message to a moderator

Re: PHP code formatting [message #755803 is a reply to message #740964] Wed, 09 November 2011 16:10 Go to previous message
dominik is currently offline dominikFriend
Messages: 122
Registered: July 2009
Senior Member
On 2011-10-19 05:42, Ben K wrote:
> sorry for resurrecting old thread.
> I want to install the upgraded formatter for pdt on helios sr2
> i've found links to the file to install...
> but the project is dead, there are no release files, google turns up nothing else
> anyone know how to install this formatter for php?
>
> http://en.sourceforge.jp/projects/pdt-tools/downloads/52058/pdt_tools.formatter_1.1.0.zip

menu -> help -> install new software etc.
BTW: there was 1.1.1 version.

/dmc
Previous Topic:[HELP - BUG???] Syntax Coloring Doesn't Work on eclipse-php 3.0.2.v201102768 on x86 Debian Squeeze
Next Topic:xdebug + pdt: cannot debug cli script
Goto Forum:
  


Current Time: Thu Sep 19 00:05:51 GMT 2024

Powered by FUDForum. Page generated in 0.04246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top