FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

php code beautifier

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
WebFox



Joined: 08 Apr 2009
Posts: 6
Location: Russia

PostPosted: Fri May 01, 2009 11:24 am    Post subject: php code beautifier Reply with quote

Any chance to get sometimes a php code beautifier integrated? Would be nice and helpful.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hellboy



Joined: 06 Apr 2009
Posts: 7

PostPosted: Fri May 01, 2009 1:13 pm    Post subject: Reply with quote

Try to use 'Format' from context menu.

But there are some problems:

1) only for one file
2) Doc-comments are not aligned properly
Back to top
View user's profile Send private message
WebFox



Joined: 08 Apr 2009
Posts: 6
Location: Russia

PostPosted: Fri May 01, 2009 1:21 pm    Post subject: Not what I meant! Reply with quote

thx for your answer, but that is surely not any real code beautifying...
There should be some new line after ; and { } should be better (with new line) aligned, also vars better aligned from content like $x= "whatever" into $x = "..., and the same for functions and so on. The format instructions im context is only very basically formatting.
So I hope that a real code beautifier is sometimes coming.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hellboy



Joined: 06 Apr 2009
Posts: 7

PostPosted: Fri May 01, 2009 1:32 pm    Post subject: Reply with quote

http://www.waterproof.fr/products/phpCodeBeautifier/download.php
Back to top
View user's profile Send private message
WebFox



Joined: 08 Apr 2009
Posts: 6
Location: Russia

PostPosted: Fri May 01, 2009 1:40 pm    Post subject: Thx but... Reply with quote

Thx again, but I want this real integrated into Netbeans PHP IDE. I do not use Windows nor Linux, but MAC OS X. And Netbeans running on a MAC is a real fine instrument. Hope that sometimes it is integrated or any plugin is avilable.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tomasz Slota
Posted via mailing list.





PostPosted: Mon May 04, 2009 7:59 am    Post subject: php code beautifier Reply with quote

We are not planning to integrate the PHP Code Beautifier because it is a
closed source application, but we are working on improving our
formatting capabilities.

-TS


WebFox wrote:
Quote:
Any chance to get sometimes a php code beautifier integrated? Would be nice and helpful.










Back to top
WebFox



Joined: 08 Apr 2009
Posts: 6
Location: Russia

PostPosted: Mon May 04, 2009 8:23 am    Post subject: There is a open souce version! Reply with quote

Thank you for your kind answer. Found meanwhile a open source version (php4 and php5) but was not able to get it working with Netbeans. Maybe that link helps a bit for a better formatting solution.

http://beautifyphp.sourceforge.net
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tomas Mysik
Posted via mailing list.





PostPosted: Mon May 04, 2009 9:20 am    Post subject: php code beautifier Reply with quote

Hi,

Dne pátek 01 května 2009 13:24:13 WebFox napsal(a):
Quote:
Any chance to get sometimes a php code beautifier integrated? Would be nice
and helpful.

I don't know the application you are talking about but - if you want to run
some program for any PHP file in your project, try this:
- create a new Run Configuration, type Script
- do not use the default PHP interpreter but select your program
- run file

This could work I guess.

HTH,
Tomas
--
Tomas Mysik
address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB