From ffc08ac17f7c8ddc272ad9259fce1900363ed24f Mon Sep 17 00:00:00 2001 From: Dan Pitic Date: Mon, 17 Sep 2018 20:56:24 +0800 Subject: [PATCH] Removed newline from C and NASM function Doxygen snippet. Added new Python class and function Doxygen snippets. --- snippets/c-lang-common/function_doxygen_doc | 10 +++++----- .../{function_doc => function_doxygen_doc} | 0 snippets/python-mode/class_doxygen_doc | 11 +++++++++++ snippets/python-mode/function_doxygen_doc | 15 +++++++++++++++ 4 files changed, 31 insertions(+), 5 deletions(-) rename snippets/nasm-mode/{function_doc => function_doxygen_doc} (100%) create mode 100644 snippets/python-mode/class_doxygen_doc create mode 100644 snippets/python-mode/function_doxygen_doc diff --git a/snippets/c-lang-common/function_doxygen_doc b/snippets/c-lang-common/function_doxygen_doc index 0b8fec04c..7766258b5 100644 --- a/snippets/c-lang-common/function_doxygen_doc +++ b/snippets/c-lang-common/function_doxygen_doc @@ -5,11 +5,11 @@ # group: doxygen # -- /** - * @brief ${1:function description} + * @brief ${1:function description} * - * @details ${2:detailed description} + * @details ${2:detailed description} * - * @param ${3:param} + * @param ${3:param} * - * @return ${4:return type} - */ + * @return ${4:return type} + */ \ No newline at end of file diff --git a/snippets/nasm-mode/function_doc b/snippets/nasm-mode/function_doxygen_doc similarity index 100% rename from snippets/nasm-mode/function_doc rename to snippets/nasm-mode/function_doxygen_doc diff --git a/snippets/python-mode/class_doxygen_doc b/snippets/python-mode/class_doxygen_doc new file mode 100644 index 000000000..e8c6fa436 --- /dev/null +++ b/snippets/python-mode/class_doxygen_doc @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# contributor: Dan Pitic +# name: Class Doxygen Doc +# key: doxy_class +# group: doxygen +# -- +""" +@brief ${1:class description} + +@details ${2:detailed description} +""" \ No newline at end of file diff --git a/snippets/python-mode/function_doxygen_doc b/snippets/python-mode/function_doxygen_doc new file mode 100644 index 000000000..f42b99970 --- /dev/null +++ b/snippets/python-mode/function_doxygen_doc @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# contributor: Dan Pitic +# name: Function Doxygen Doc +# key: doxy_func +# group: doxygen +# -- +""" +@brief ${1:function description} + +@details ${2:detailed description} + +@param ${3:param} + +@return ${4:return type} +""" \ No newline at end of file