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:
and it pops in the code with variables :
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.