Reputation: 631
i need this:
{{ _('') }}
very often and get tired by typing it again over and over.
Is there a netbeans function where i can create a shortcode for that? Si if i press a key combination it insert this thing?
And i dont want to use copy and paste ;)
Thanks
Upvotes: 5
Views: 6612
Reputation: 1521
There is. If you go to tools
--> options
--> Editor
--> Code Templates
, you can add a abbreviation and the Expanded text to make it.
For example, when I type syso
and hit the Tab button, it makes it System.out.println("${cursor}");
, where the cursor is at ${cursor}
.
Upvotes: 14