my-emacs-d/elpa/vala-snippets-20150428.2052/snippets/vala-mode/controlflow/if-else-else.yasnippet

11 lines
156 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: if-else if-else statement
# key: ifee
# --
if (${1:condition}) {
$2
} else if (${3:condition}){
$4
} else {
$0
}