Skip to content

Commit 6eac47b

Browse files
authored
Merge pull request #381 from quazgar/java-method-scope
ENH: Make method scope choosable.
2 parents 656a12a + 1cc6357 commit 6eac47b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snippets/java-mode/method

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# name: method
33
# key: m
44
# --
5-
${1:public} ${2:void} ${3:name}(${4:args}) {
5+
${1:$$(yas-choose-value '("public" "private" "protected" ""))} ${2:void} ${3:name}(${4:args}) {
66
$0
77
}

snippets/java-mode/param

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# name: param
33
# key: param
44
# --
5-
@param ${1:paramater} $0
5+
@param ${1:parameter} $0

0 commit comments

Comments
 (0)