Шаблоны для комментариев

This commit is contained in:
Andrei Astafev 2020-04-18 12:43:40 +03:00
parent fc21e4dc67
commit 2cc2863d62
4 changed files with 16 additions and 3 deletions

4
classheader.txt Normal file
View File

@ -0,0 +1,4 @@
/*!
* @class $(fclass)
* @brief TODO
*/

View File

@ -2621,7 +2621,7 @@ cmt_multi_first_len_minimum = 4 # unsigned number
# Path to a file that contains text to insert at the beginning of a file if
# the file doesn't start with a C/C++ comment. If the inserted text contains
# '$(filename)', that will be replaced with the current file's name.
cmt_insert_file_header = "" # string
cmt_insert_file_header = "fileheader.txt" # string
# Path to a file that contains text to insert at the end of a file if the
# file doesn't end with a C/C++ comment. If the inserted text contains
@ -2634,12 +2634,12 @@ cmt_insert_file_footer = "" # string
# replaced with, respectively, the name of the function, the javadoc '@param'
# and '@return' stuff, or the name of the class to which the member function
# belongs.
cmt_insert_func_header = "" # string
cmt_insert_func_header = "funcheader.txt" # string
# Path to a file that contains text to insert before a class if the class
# isn't preceded by a C/C++ comment. If the inserted text contains '$(class)',
# that will be replaced with the class name.
cmt_insert_class_header = "" # string
cmt_insert_class_header = "classheader.txt" # string
# Path to a file that contains text to insert before an Objective-C message
# specification, if the method isn't preceded by a C/C++ comment. If the

4
fileheader.txt Normal file
View File

@ -0,0 +1,4 @@
/*!
* @file $(filename)
* @brief TODO
*/

5
funcheader.txt Normal file
View File

@ -0,0 +1,5 @@
/*!
* @fn $(fclass)::$(function)
* @brief TODO
* $(javaparam)
*/