[gnome-builder] snippets: add CC snippet
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] snippets: add CC snippet
- Date: Fri, 12 Sep 2014 04:59:59 +0000 (UTC)
commit 0d9eae89dc0ad12c187251bf551840c2cc0b7206
Author: Christian Hergert <christian hergert me>
Date: Thu Sep 11 21:59:54 2014 -0700
snippets: add CC snippet
Another temporary snippet to help me get going faster using Builder
to build Builder.
CC in a file named "foo-item.h" will output FOO_ITEM (); with cursor
between parenthesis.
src/resources/snippets/c.snippets | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/snippets/c.snippets b/src/resources/snippets/c.snippets
index f8af7ea..de60f5f 100644
--- a/src/resources/snippets/c.snippets
+++ b/src/resources/snippets/c.snippets
@@ -171,6 +171,8 @@ snippet doc
*/$0
snippet C
${$filename|stripsuffix|functify|camelize} $0
+snippet CC
+ ${$filename|stripsuffix|functify|upper} (${1});$0
snippet comment
/*
* $0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]