views:

412

answers:

1

Hello Guys,

I am using Netbeans 6.8 and trying to create a custom PHP comment code block macro the /* */ style and not the usual double slash.

So far with googling and asking in PHPUGPH, I got this macro code (tools->options->editor->macros):

copy-to-clipboard delete-previous "/*" paste-from-clipboard "*/" 

You must first highlight the code and press the shortcut key combination to make a comment block.

My problem now is I don't know what is the macro code to uncomment PHP block. I got this LINK and trying to use the codes but I can't make it work. Maybe I'm missing something?

Do you know a list of helpful macro code list for PHP Netbeans? I can't find a list of macro commands for Netbeans.

Thanks in Advance, Mark

A: 

I'm not sure about marcos, but I know netbeans has a really useful comment and uncomment buttons for a block of code. Simply highlight all the code you want to comment or uncomment and click one of the 2 buttons. (one for commenting, the other for commenting)

Screenshot: http://www.freeimagehosting.net/uploads/b603dc444d.png

mrlanrat
It will add a slash comment and not a block comment ---> /* */
marknt15