NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHPDoc format


Joined: 18 Jul 2006
Posts: 11
Location: Madeira Beach, FL
Reply with quote
I have searched through these message boards and could not find a way to have PHPDoc templates expand to the proper format. If you type '/**' and hit enter in the editor you get this

Code:
/**
* @desc
*/

instead of this

Code:
/**
 * @desc
 */


I found another thread (phpdoc-feature-bug-and-fast-run-to-cursor-t2343.html) that talks about it but I could not find the script that svenax mentions. Any suggestions on how to change this? I am currently using v4.6 build(4620) which at the time of this post is the latest release.[/url]

_________________
- Mark
View user's profileFind all posts by marzilloSend private message


Joined: 18 Jul 2006
Posts: 11
Location: Madeira Beach, FL
Reply with quote
I managed to find the thread that svenax mentions.

http://forum.nusphere.com/some-useful-scripts-for-phped-t1989.html

I had to make a few modifications to the code to make it format comments the way I wanted and to account for parms not having a space before the equal sign but other than that it worked great.

_________________
- Mark
View user's profileFind all posts by marzilloSend private message


Joined: 26 Apr 2008
Posts: 1
Location: GamePacks.org
Reply with quote
Thanks marzillo.

I am switching over from phpDesigner and it's a shame PhpED isn't able to automatically generate phpdoc comments. I'm going to this this out and hopefully it works.

SGBoise,
Gamepacks.org
View user's profileFind all posts by sgboiseSend private message
PHPDoc format
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic