* Add PHP basic syntax (statement) for php-mode * Add php-mode/.yas-setup.el * Replace to function (yas-php-get-class-name-by-file-name)
12 lines
216 B
Plaintext
12 lines
216 B
Plaintext
# -*- mode: snippet -*-
|
|
# contributor: USAMI Kenta <tadsan@zonu.me>
|
|
# name: switch
|
|
# key: switch
|
|
# group : control structure
|
|
# --
|
|
switch (${1:condition}) {
|
|
case ${2:expr}:
|
|
$0
|
|
break;
|
|
default:
|
|
} |