diff options
Diffstat (limited to 'cc-mode')
-rw-r--r-- | cc-mode/file_description | 13 | ||||
-rw-r--r-- | cc-mode/for | 2 | ||||
-rw-r--r-- | cc-mode/function_description | 14 | ||||
-rw-r--r-- | cc-mode/inc | 2 | ||||
-rw-r--r-- | cc-mode/inc.1 | 2 | ||||
-rw-r--r-- | cc-mode/member_description | 7 |
6 files changed, 37 insertions, 3 deletions
diff --git a/cc-mode/file_description b/cc-mode/file_description new file mode 100644 index 0000000..5b3a1ee --- /dev/null +++ b/cc-mode/file_description @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +#cotributor: Henrique Jung <henriquenj@gmail.com> +#name: File description +#key: \file +#group: doxygen +# -- +/** + * \file ${1:`(file-name-nondirectory(buffer-file-name))`} + * \brief ${2:A Documented file.} + ${3:* + * ${4:Detailed description} + * +}*/ diff --git a/cc-mode/for b/cc-mode/for index e445f4d..dd29130 100644 --- a/cc-mode/for +++ b/cc-mode/for @@ -4,4 +4,4 @@ # -- for (${1:i = 0}; ${2:i < N}; ${3:i++}) { $0 -} +}
\ No newline at end of file diff --git a/cc-mode/function_description b/cc-mode/function_description new file mode 100644 index 0000000..1ff27ff --- /dev/null +++ b/cc-mode/function_description @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +#cotributor: Henrique Jung <henriquenj@gmail.com> +#name: Function description +#key: \brief +#group: doxygen +# -- +/** + * \brief ${1:function description} + ${2:* + * ${3:Detailed description} + * + }* \param ${4:param} + * \return ${5:return type} + */
\ No newline at end of file diff --git a/cc-mode/inc b/cc-mode/inc index 96beaa7..7760491 100644 --- a/cc-mode/inc +++ b/cc-mode/inc @@ -1,5 +1,5 @@ # -*- mode: snippet -*- # name : #include <...> -# key : inc +# key : incs # -- #include <$1>
\ No newline at end of file diff --git a/cc-mode/inc.1 b/cc-mode/inc.1 index 64a8653..95567f2 100644 --- a/cc-mode/inc.1 +++ b/cc-mode/inc.1 @@ -1,5 +1,5 @@ # -*- mode: snippet -*- # name : #include "..." -# key : inc +# key : incl # -- #include "$1"
\ No newline at end of file diff --git a/cc-mode/member_description b/cc-mode/member_description new file mode 100644 index 0000000..54f3406 --- /dev/null +++ b/cc-mode/member_description @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +#cotributor: Henrique Jung <henriquenj@gmail.com> +#name: Member description +#key: !< +#group: doxygen +# -- +/*!< ${1:Detailed description after the member} */
\ No newline at end of file |