开发者

What is the closest equivalent in Netbeans to Eclipse's Templates (code macros)?

开发者 https://www.devze.com 2023-01-27 19:59 出处:网络
In Eclipse, I can define a template like this: so that when I\'m typing I type the 开发者_开发问答first letters of the template name, choose the template:

In Eclipse, I can define a template like this:

What is the closest equivalent in Netbeans to Eclipse's Templates (code macros)?

so that when I'm typing I type the 开发者_开发问答first letters of the template name, choose the template:

What is the closest equivalent in Netbeans to Eclipse's Templates (code macros)?

and it pops in the code with variables:

What is the closest equivalent in Netbeans to Eclipse's Templates (code macros)?

What is the best way to get this functionality in NetBeans?


Code templates.

http://netbeans.org/kb/docs/php/code-templates.html

Link goes to a PHP-specific tutorial, but it's the same for any language that your Netbeans build has support for.

0

精彩评论

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

关注公众号