From 7a6bb0f05e349068b0a89514f1da33d6d7de30a9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 24 Apr 2012 23:29:38 +0200 Subject: emacs.d/lisp/yasnippet: added yasnippet --- emacs.d/lisp/yasnippet/snippets/csharp-mode/method | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 emacs.d/lisp/yasnippet/snippets/csharp-mode/method (limited to 'emacs.d/lisp/yasnippet/snippets/csharp-mode/method') diff --git a/emacs.d/lisp/yasnippet/snippets/csharp-mode/method b/emacs.d/lisp/yasnippet/snippets/csharp-mode/method new file mode 100644 index 0000000..e9a5906 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/csharp-mode/method @@ -0,0 +1,10 @@ +#contributor : Alejandro Espinoza Esparza +#name : public void Method { ... } +# -- +/// +/// ${5:Description} +/// ${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// " text ""))} +${1:public} ${2:void} ${3:MethodName}($4) +{ +$0 +} -- cgit v1.2.3