Netbeans often used code snippets

I need this:

{{ _('') }} 

very often and get tired, repeating it again and again.

Is there a netbeans function where I can create short code for this? Si, if I press a key combination, does it insert this thing?

And I do not want to use copy and paste;)

thanks

+4
source share
1 answer

There is. If you go to tools options Editor Code Templates , you can add an abbreviation and extended text to do this.

For example, when I type syso and press the Tab button, it makes it System.out.println("${cursor}"); where the cursor is in ${cursor} .

+8
source

All Articles