We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d7952 commit 611920fCopy full SHA for 611920f
UltiSnips/cmake.snippets
@@ -0,0 +1,49 @@
1
+priority -50
2
+
3
+snippet if "if" b
4
+if($1)
5
+ $2
6
+endif()
7
+endsnippet
8
9
+snippet ife "if / else" b
10
11
12
+else()
13
+ $3
14
15
16
17
+snippet ifee "if / elseif / else" b
18
19
20
+elseif($3)
21
+ $4
22
23
+ $5
24
25
26
27
+snippet for "foreach" b
28
+foreach($1 ${$2})
29
30
+endforeach()
31
32
33
+snippet while "while" b
34
+while($1)
35
36
+endwhile()
37
38
39
+snippet macro "macro" b
40
+macro($1)
41
42
+endmacro()
43
44
45
+snippet function "function" b
46
+function($1)
47
48
+endfunction()
49
0 commit comments