james
james

Reputation: 1687

How to remove auto generated comments in Netbeans?

I made a jsp file in a netbeans project. Netbeans automatically adds a comment which contains author, time and project name. I do NOT want this information to be added. I tried to remove this via Netbeans > Tools > Templates > Web > JSP > Settings > User.properties file is now opened > Uncomment the user param in the user.poperties and set user = . This does not help. How do I remove the auto generated comments ?

<%-- 
    Document   : bbc
    Created on : acb
    Author     : james
--%>

User.properties:

#
# Here, or in other properties files in this directory, you can define
# various properties that you want to make available to the template
# processor while creating various templates.
#

# uncomment the next line and specify your user name to be used in new templates
user = 

I set user = nothing. How do I remove the date and file name ?

Upvotes: 2

Views: 6055

Answers (1)

hityagi
hityagi

Reputation: 5256

Go to : Tools > Templates > Web > JSP > open in editor . Do not open the settings button for this.

remove :

<%-- 
    Document   : ${abc}
    Created on : ${abc}
    Author     : ${abc}
--%>

Upvotes: 2

Related Questions