Answer the question
In order to leave comments, you need to log in
PHP, Eclipse: How to automatically insert a comment (preamble) into project sources?
I often see this picture in the sources of other projects - at the top of each file there is a comment (preamble) that describes either copyrights, or the version of the library, or the purpose of the file, or all together.
Is there software or a function in Eclipse that allows you to insert template comments automatically,
without using a stupid copy-paste with iterating through all files manually?
I want to automatically insert copyrights and project version into all PHP files.
If necessary, this comment is also automatically changed.
Those. you need to insert the following (instead of asterisks, the necessary data):
/**
* Project: ***
* File: ***
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of MIT license
*
* @link http://***.ru
* @copyright 2015 ***
* @author ***
* @version ***
* @package ***
*
*/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question