mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(lsp/java): remove params from method snippets
This commit is contained in:
@@ -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",
|
||||
"}"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user