From 2c130116b56786c385ec15dcaa65c0c7f8e71bc9 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Sat, 1 Apr 2023 18:40:37 +0530 Subject: [PATCH] fix(lsp/java): remove params from method snippets --- .../main/assets/data/editor/java/snippets.member.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lsp/java/src/main/assets/data/editor/java/snippets.member.json b/lsp/java/src/main/assets/data/editor/java/snippets.member.json index cc3551a3b..ac08caa76 100644 --- a/lsp/java/src/main/assets/data/editor/java/snippets.member.json +++ b/lsp/java/src/main/assets/data/editor/java/snippets.member.json @@ -14,7 +14,7 @@ "public_method": { "desc": "Create a new public method", "body": [ - "public ${1:void} ${2:method}(${3:params}) {", + "public ${1:void} ${2:method}($3) {", "\t$0", "}" ] @@ -22,7 +22,7 @@ "protected_method": { "desc": "Create a new protected method", "body": [ - "protected ${1:void} ${2:method}(${3:params}) {", + "protected ${1:void} ${2:method}($3) {", "\t$0", "}" ] @@ -30,7 +30,7 @@ "private_method": { "desc": "Create a new private method", "body": [ - "private ${1:void} ${2:method}(${3:params}) {", + "private ${1:void} ${2:method}($3) {", "\t$0", "}" ] @@ -38,7 +38,7 @@ "public_static_method": { "desc": "Create a new public static method", "body": [ - "public static ${1:void} ${2:method}(${3:params}) {", + "public static ${1:void} ${2:method}($3) {", "\t$0", "}" ] @@ -46,7 +46,7 @@ "private_static_method": { "desc": "Create a new private stataic method", "body": [ - "private static ${1:void} ${2:method}(${3:params}) {", + "private static ${1:void} ${2:method}($3) {", "\t$0", "}" ]