Search
Close this search box.
Search
Close this search box.

NetBeans Snippets

Code Templates is NetBeans’ code snippets functionality. Using templates allows you to write an abbreviation for a common piece of code and then press a trigger key (the TAB key) to replace the abbreviation with a code snippet.

Here are the NetBeans snippets I use the most.

print_r(${cursor});

Also in the HTML snippet, I add this one:

<?php echo ${cursor} ?>