开发者

comment code in netbeans?

开发者 https://www.devze.com 2022-12-26 03:13 出处:网络
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 l

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号