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

testing k complementary pairs algorithm with junit

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

Check if there are three numbers a, b, c giving a total T from array A

binary tree problems with solution

String Ordered Permutation Algorithm Problem

Changing decimal number to its binary equivalent

Flatten nested javascript array

Implementing tokenizer and adding tokens to the linked list

Check if two strings are anagrams or not

Find the first occurence of number in the sorted array

Leave a Reply

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

*
*