From bc130ab11a8960fe71725f0788bcf778d1b49dfd Mon Sep 17 00:00:00 2001 From: Clement Jean Date: Wed, 16 Mar 2022 11:38:52 +0800 Subject: [PATCH] Add few options Add the following options: - go_package - java_multiple_files - cc_enable_arenas - objc_class_prefix --- snippets/proto3.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/snippets/proto3.json b/snippets/proto3.json index 133de0a..b165961 100644 --- a/snippets/proto3.json +++ b/snippets/proto3.json @@ -30,6 +30,26 @@ "description": "option java_outer_classname", "body": "option java_outer_classname = \"${1:ClassName}\";" }, + "option java_multiple_files": { + "prefix": "ojmf", + "description": "option java_multiple_files", + "body": "option java_multiple_files = ${1:true};" + }, + "option golang_package": { + "prefix": "ogp", + "description": "option go_package", + "body": "option go_package = \"${1}\";" + }, + "option cc_enable_arenas": { + "prefix": "ocea", + "description": "option cc_enable_arenas", + "body": "option cc_enable_arenas = ${1:true};" + }, + "option objc_class_prefix": { + "prefix": "oocp", + "description": "option objc_class_prefix", + "body": "option objc_class_prefix = \"${1}\";" + }, "option optimize_for SPEED": { "prefix": "o4s", "description": "option optimize_for SPEED",