emacs-prelude/vendor/yasnippet/snippets/scala-mode/if.else
2012-02-17 22:12:32 +02:00

9 lines
No EOL
140 B
Text

# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: if (cond) { .. } else { .. }
# key: if
# --
if (${1:condition}) {
$2
} else {
$0
}