-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This step will auto create copyright comments when you create new file/class
Preferences -> Copyright -> Copyright Profile
Add new Copyright profile by clicking + -> this will open a pop up and give new copyright profile name.
$file.fileName
Copyright (c) S-Developers Ltd.
All rights reserved.
This software is the confidential and proprietary information.
You can validate the velocity template whether the syntax is as per the IDE format or not
Once copyright profile is created, then we need to assign this to project scope
Copyright -> Select Default project copyright to select newly created copyright
Then select Project files and copyright option.
Verify whether copyright comment is created on every file that you edit and create.
Preferences -> File and Code templates -> Includes Tab -> File header
Use below sample velocity template for the format
/**
* Give as much as information about this class and its usage
*
* @author Company Name (2001)
* @version 1.0
*/
Method level comments are auto generated by the IDE. use /** and enter on method to generate method comments.
Preferences -> Live Template -> Select Other -> Click +
Refer to sample usage of Live Template