Skip to content

Commit 20fcbf1

Browse files
author
John Luo
authored
Add a protobuf item template (#10125)
1 parent 47575a0 commit 20fcbf1

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json.schemastore.org/dotnetcli.host"
3+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"$schema": "http://json.schemastore.org/template",
3+
"author": "Microsoft",
4+
"classifications": [
5+
"Web",
6+
"gRPC"
7+
],
8+
"name": "Protocol Buffer File",
9+
"generatorVersions": "[1.0.0.0-*)",
10+
"description": "A protocol buffer file for describing messages and services for gRPC.",
11+
"tags": {
12+
"language": "",
13+
"type": "item"
14+
},
15+
"groupIdentity": "Microsoft.Web.Grpc.Protobuf",
16+
"precedence": "100",
17+
"identity": "Microsoft.Web.Grpc.Protobuf",
18+
"shortname": "proto",
19+
"sourceName": "protobuf",
20+
"primaryOutputs": [
21+
{
22+
"path": "protobuf.proto"
23+
}
24+
],
25+
"defaultName": "protobuf",
26+
"symbols": {
27+
"HostIdentifier": {
28+
"type": "bind",
29+
"binding": "HostIdentifier"
30+
}
31+
},
32+
"postActions": [
33+
{
34+
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
35+
"description": "Opens protobuf.proto in the editor",
36+
"manualInstructions": [],
37+
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
38+
"args": {
39+
"files": "0"
40+
},
41+
"continueOnError": true
42+
}
43+
]
44+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
syntax = "proto3";

0 commit comments

Comments
 (0)