Adding Date to the template in netbeans

Updating netbeans template with date

It is common for the source code file to contain the name of the author, copyright notices, the purpose of the script and the date as well.

Can you find the longest palindrome from given sequence of characters?

IDEs would come with template of the source file to auto populate that for you. Netbeans is also doing that.

Netbeans also provides default template placeholders for author and other artifacts.

Importing packages to eclipse from maven – See how easy it is

All the others seems easy to proceed, but if you want to add date [@since] to your source file in netbeans here is how to do it.

Here is how you can add automatic date to the template.

1. Go to tools->templates
2. Select file that you are working on
3. add @since ${date} to the template where you would want to show date

 

Step by step tutorial for nodejs, angularjs and mongodb

Passing all jars to classpath from command line when compiling java

See how you would solve these known algorithm problems

Flatten nested javascript array

Check if two strings are anagrams or not

binary tree problems with solution

Get maximum occurring character

Find the pairs that makes K Complementary in the given array java solution

Array reversal in Recurrsion

Changing decimal number to its binary equivalent

Kadane’s algorithm in C – Dynamic Programming

Find K Complementary numbers from array Java implementation

Finding missing numbers from billion sequential number list file

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*