comment code in netbeans?
a while ago i could comment开发者_开发问答 any code in php with netbeans like this:
/*
*
*
*/
I just typed /* ENTER and netbeans gave me that lines above. then when i typed @ it gave me a full list of all available tags (author, param and so on).
i reinstalled my mac and since then it hasnt worked.
someone knows why and how i can activate it? i installed the netbeans for php only.
Did you import from an old user profile by any chance? This happened to me once. I reset the preferences and it worked. Hope this helps.
Edit: The OP reported that you have to press /** ENTER rather than /* ENTER to get the comments working.
I would suggest 1 of the following:
1) Completely uninstall netbeans and install again
or
2) Check Tools->Options->Editor->Code Templates
You may also want to check the settings in
Check Tools->Options->Editor->Code Completion
精彩评论