We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8770132 commit 76a4d7eCopy full SHA for 76a4d7e
UltiSnips/proto.snippets
@@ -0,0 +1,30 @@
1
+priority -50
2
+
3
+snippet mess "Proto message" b
4
+// ${2:TODO(`whoami`): Describe this message.}
5
+message ${1:Name} {
6
7
+ // Next available id: 1
8
+}
9
+endsnippet
10
11
+snippet reqf "Required field" b
12
+// ${4:TODO(`whoami`): Describe this field.}
13
+optional ${1:type} ${2:name} = ${3:1}; // Required
14
15
16
+snippet optf "Optional field" b
17
18
+optional ${1:type} ${2:name} = ${3:1};
19
20
21
+snippet repf "Repeated field" b
22
23
+repeated ${1:type} ${2:name} = ${3:1};
24
25
26
+snippet enum "Enumeration" b
27
+// ${2:TODO(`whoami`): Describe this enum.}
28
+enum ${1:Name} {
29
30
0 commit comments