diff options
| author | Simeon Simeonov | 2015-02-04 21:41:42 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2015-02-04 21:41:42 +0100 |
| commit | 897eee81de8b3f6adf0165f50e95600a7b89c20c (patch) | |
| tree | 5ee19c07c40e822e15a6443e5db5601c28913454 /.emacs.d/mysnippets/text-mode/scala-mode | |
| parent | 9a46567eb167e5aef4b2e760c5d6bdc4fe1ba06a (diff) | |
Standalone lisp and snippet repo
Diffstat (limited to '.emacs.d/mysnippets/text-mode/scala-mode')
96 files changed, 0 insertions, 527 deletions
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/act b/.emacs.d/mysnippets/text-mode/scala-mode/act deleted file mode 100644 index fce52fc..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/act +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def act = { ..} | ||
| 3 | # -- | ||
| 4 | def act = { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/act.arg b/.emacs.d/mysnippets/text-mode/scala-mode/act.arg deleted file mode 100644 index fc6df9e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/act.arg +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def act(arg: T) = { ..} | ||
| 3 | # -- | ||
| 4 | def act(${1:arg}: ${2:type}) = { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/actor b/.emacs.d/mysnippets/text-mode/scala-mode/actor deleted file mode 100644 index d38a183..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/actor +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val a = actor { ..} | ||
| 3 | # -- | ||
| 4 | val a = actor { | ||
| 5 | loop { | ||
| 6 | react { | ||
| 7 | $0 | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ano b/.emacs.d/mysnippets/text-mode/scala-mode/ano deleted file mode 100644 index b949801..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ano +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : (args) => ... | ||
| 3 | # -- | ||
| 4 | ($1) => ${2:body} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/app b/.emacs.d/mysnippets/text-mode/scala-mode/app deleted file mode 100644 index b89bab9..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/app +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : object name extends Application | ||
| 3 | # -- | ||
| 4 | object ${1:name} extends Application { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/arr.new b/.emacs.d/mysnippets/text-mode/scala-mode/arr.new deleted file mode 100644 index e3297ca..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/arr.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : Array[T](..) | ||
| 3 | # -- | ||
| 4 | Array[${1:value}](${2:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new deleted file mode 100644 index 4de4720..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/arr.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val a = Array[T](..) | ||
| 3 | # -- | ||
| 4 | val ${1:arr} = Array[${2:value}](${3:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/asof b/.emacs.d/mysnippets/text-mode/scala-mode/asof deleted file mode 100644 index 3b2b209..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/asof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : asInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | asInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ass b/.emacs.d/mysnippets/text-mode/scala-mode/ass deleted file mode 100644 index 653dcef..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ass +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : assert(x === y) | ||
| 3 | # -- | ||
| 4 | assert(${1:x} === ${2:y}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ass.true b/.emacs.d/mysnippets/text-mode/scala-mode/ass.true deleted file mode 100644 index 923c518..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ass.true +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : assert(true) | ||
| 3 | # -- | ||
| 4 | assert(true) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.author b/.emacs.d/mysnippets/text-mode/scala-mode/at.author deleted file mode 100644 index 82fe4cc..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.author +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @author name | ||
| 3 | # -- | ||
| 4 | @author ${1:name} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.param b/.emacs.d/mysnippets/text-mode/scala-mode/at.param deleted file mode 100644 index 72b6e79..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @param name description | ||
| 3 | # -- | ||
| 4 | @param ${1:name} ${2:description} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.return b/.emacs.d/mysnippets/text-mode/scala-mode/at.return deleted file mode 100644 index 9c3f41c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.return +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @return description | ||
| 3 | # -- | ||
| 4 | @return ${1:description} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/at.version b/.emacs.d/mysnippets/text-mode/scala-mode/at.version deleted file mode 100644 index 1158ce2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/at.version +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : @version number | ||
| 3 | # -- | ||
| 4 | @version ${1:0.1} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/bang b/.emacs.d/mysnippets/text-mode/scala-mode/bang deleted file mode 100644 index a547da8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/bang +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : actor ! message | ||
| 3 | # -- | ||
| 4 | ${1:actor} ! ${2:message} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/case b/.emacs.d/mysnippets/text-mode/scala-mode/case deleted file mode 100644 index 13d6aec..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/case +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case pattern => | ||
| 3 | # -- | ||
| 4 | case ${1:pattern} => $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all b/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all deleted file mode 100644 index 028bf5f..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/case.match-all +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case _ => | ||
| 3 | # -- | ||
| 4 | case _ => $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cast b/.emacs.d/mysnippets/text-mode/scala-mode/cast deleted file mode 100644 index 3b2b209..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cast +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : asInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | asInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cc b/.emacs.d/mysnippets/text-mode/scala-mode/cc deleted file mode 100644 index 7ed1142..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case class T(arg: A) | ||
| 3 | # -- | ||
| 4 | case class ${1:name}(${2:arg}: ${3:type}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl b/.emacs.d/mysnippets/text-mode/scala-mode/cl deleted file mode 100644 index 1fd712c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T { .. } | ||
| 3 | # -- | ||
| 4 | class ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs b/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs deleted file mode 100644 index 402dec7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : abstract class T { .. } | ||
| 3 | # -- | ||
| 4 | abstract class ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg b/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg deleted file mode 100644 index fe29524..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.abs-arg +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : abstract class T(args) { .. } | ||
| 3 | # -- | ||
| 4 | abstract class ${1:name}(${2:args}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg b/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg deleted file mode 100644 index f82460f..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cl.arg +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T(args) { .. } | ||
| 3 | # -- | ||
| 4 | class ${1:name}(${2:args}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/clof b/.emacs.d/mysnippets/text-mode/scala-mode/clof deleted file mode 100644 index 955726c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/clof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : classOf[T] | ||
| 3 | # -- | ||
| 4 | classOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/co b/.emacs.d/mysnippets/text-mode/scala-mode/co deleted file mode 100644 index 75b1f3b..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/co +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : case object T | ||
| 3 | # -- | ||
| 4 | case object ${1:name} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cons b/.emacs.d/mysnippets/text-mode/scala-mode/cons deleted file mode 100644 index a48e4ff..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cons +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 :: element2 | ||
| 3 | # -- | ||
| 4 | ${1:element1} :: ${2:element2} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil b/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil deleted file mode 100644 index c288f93..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/cons.nil +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 :: Nil | ||
| 3 | # -- | ||
| 4 | ${1:element1} :: Nil $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg deleted file mode 100644 index 7765bbf..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T) = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}) = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body deleted file mode 100644 index e6e278e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T) = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}) = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret deleted file mode 100644 index dddb9ce..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T): R = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}): ${3:Unit} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body deleted file mode 100644 index 862f7fd..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.arg-ret-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f(arg: T): R = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}(${2:args}): ${3:Unit} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.body b/.emacs.d/mysnippets/text-mode/scala-mode/def.body deleted file mode 100644 index 858908c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret b/.emacs.d/mysnippets/text-mode/scala-mode/def.ret deleted file mode 100644 index e5483fb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f: R = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name}: ${2:Unit} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body b/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body deleted file mode 100644 index f342e04..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.ret-body +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f: R = {...} | ||
| 3 | # -- | ||
| 4 | def ${1:name}: ${3:Unit} = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/def.simple b/.emacs.d/mysnippets/text-mode/scala-mode/def.simple deleted file mode 100644 index 4814c73..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/def.simple +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : def f = ... | ||
| 3 | # -- | ||
| 4 | def ${1:name} = $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.class b/.emacs.d/mysnippets/text-mode/scala-mode/doc.class deleted file mode 100644 index 60442f1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.class +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** cls/trt/obj name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-find-clstrtobj-name-doc)` | ||
| 6 | * ${1:description} | ||
| 7 | * $0 | ||
| 8 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.def b/.emacs.d/mysnippets/text-mode/scala-mode/doc.def deleted file mode 100644 index 8a3d614..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.def +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** method name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-def-and-args-doc)` | ||
| 6 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file deleted file mode 100644 index 7da4289..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** file name */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * `(scala-mode-file-doc)` | ||
| 6 | * $0 | ||
| 7 | * @author ${1:name} | ||
| 8 | * @version ${2:0.1} | ||
| 9 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala deleted file mode 100644 index 6719348..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** scala file */ | ||
| 3 | # -- | ||
| 4 | /* __ *\ | ||
| 5 | ** ________ ___ / / ___ Scala $3 ** | ||
| 6 | ** / __/ __// _ | / / / _ | (c) 2005-`(format-time-string "%Y")` , LAMP/EPFL ** | ||
| 7 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
| 8 | ** /____/\___/_/ |_/____/_/ | | ** | ||
| 9 | ** |/ ** | ||
| 10 | \* */ | ||
| 11 | /** | ||
| 12 | * $0 | ||
| 13 | * @author ${1:name} | ||
| 14 | * @version ${2:0.1} | ||
| 15 | * $Id$ | ||
| 16 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api b/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api deleted file mode 100644 index 4a762f5..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.file-scala-api +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** scala api file */ | ||
| 3 | # -- | ||
| 4 | /* __ *\ | ||
| 5 | ** ________ ___ / / ___ Scala API ** | ||
| 6 | ** / __/ __// _ | / / / _ | (c) 2005-`(format-time-string "%Y")`, LAMP/EPFL ** | ||
| 7 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
| 8 | ** /____/\___/_/ |_/____/_/ | | ** | ||
| 9 | ** |/ ** | ||
| 10 | \* */ | ||
| 11 | /** | ||
| 12 | * $0 | ||
| 13 | * @author ${1:name} | ||
| 14 | * @version ${2:0.1} | ||
| 15 | * $Id$ | ||
| 16 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc b/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc deleted file mode 100644 index 038428c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/doc.scaladoc +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : /** ... */ | ||
| 3 | # -- | ||
| 4 | /** | ||
| 5 | * ${1:description} | ||
| 6 | * $0 | ||
| 7 | */ \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/expect b/.emacs.d/mysnippets/text-mode/scala-mode/expect deleted file mode 100644 index 94c742c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/expect +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : expect(value) { ..} | ||
| 3 | # -- | ||
| 4 | expect(${1:reply}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ext b/.emacs.d/mysnippets/text-mode/scala-mode/ext deleted file mode 100644 index e256317..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ext +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : extends T | ||
| 3 | # -- | ||
| 4 | extends $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.extract b/.emacs.d/mysnippets/text-mode/scala-mode/for.extract deleted file mode 100644 index 60f1155..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.extract +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : x <- xs | ||
| 3 | # -- | ||
| 4 | ${1:x} <- ${2:xs} \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.if b/.emacs.d/mysnippets/text-mode/scala-mode/for.if deleted file mode 100644 index f44c544..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for (x <- xs if guard) { ... } | ||
| 3 | # -- | ||
| 4 | for (${1:x} <- ${2:xs} if ${3:guard}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.loop b/.emacs.d/mysnippets/text-mode/scala-mode/for.loop deleted file mode 100644 index 050d5e8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.loop +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for (x <- xs) { ... } | ||
| 3 | # -- | ||
| 4 | for (${1:x} <- ${2:xs}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/for.multi b/.emacs.d/mysnippets/text-mode/scala-mode/for.multi deleted file mode 100644 index c512067..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/for.multi +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : for {x <- xs \ y <- ys} { yield } | ||
| 3 | # -- | ||
| 4 | for { | ||
| 5 | ${1:x} <- ${2:xs} | ||
| 6 | ${3:x} <- ${4:xs} | ||
| 7 | } { | ||
| 8 | yield $0 | ||
| 9 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/foreach b/.emacs.d/mysnippets/text-mode/scala-mode/foreach deleted file mode 100644 index cafdd00..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/foreach +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : foreach(x => ..) | ||
| 3 | # -- | ||
| 4 | foreach(${1:x} => ${2:body}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new b/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new deleted file mode 100644 index dd564a0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : new HashMap[K, V] | ||
| 3 | # -- | ||
| 4 | new HashMap[${1:key}, ${2:value}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new deleted file mode 100644 index 2f4a3c2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hmap.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val m = new HashMap[K, V] | ||
| 3 | # -- | ||
| 4 | val ${1:m} = new HashMap[${2:key}, ${3:value}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hset.new b/.emacs.d/mysnippets/text-mode/scala-mode/hset.new deleted file mode 100644 index d1be3ee..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hset.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : new HashSet[K] | ||
| 3 | # -- | ||
| 4 | new HashSet[${1:key}] $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new deleted file mode 100644 index ba792a2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/hset.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val m = new HashSet[K] | ||
| 3 | # -- | ||
| 4 | val ${1:m} = new HashSet[${2:key}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/if b/.emacs.d/mysnippets/text-mode/scala-mode/if deleted file mode 100644 index 24891c0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/if +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : if (cond) { .. } | ||
| 3 | # -- | ||
| 4 | if (${1:condition}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/if.else b/.emacs.d/mysnippets/text-mode/scala-mode/if.else deleted file mode 100644 index ebff471..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/if.else +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : if (cond) { .. } else { .. } | ||
| 3 | # -- | ||
| 4 | if (${1:condition}) { | ||
| 5 | $2 | ||
| 6 | } else { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/imp b/.emacs.d/mysnippets/text-mode/scala-mode/imp deleted file mode 100644 index cf5efa1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/imp +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : import .. | ||
| 3 | # -- | ||
| 4 | import $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/intercept b/.emacs.d/mysnippets/text-mode/scala-mode/intercept deleted file mode 100644 index 4725eaa..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/intercept +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : intercept(classOf[T]) { ..} | ||
| 3 | # -- | ||
| 4 | intercept(classOf[${1:Exception]}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/isof b/.emacs.d/mysnippets/text-mode/scala-mode/isof deleted file mode 100644 index a3538c8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/isof +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : isInstanceOf[T] | ||
| 3 | # -- | ||
| 4 | isInstanceOf[${1:type}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ls.new b/.emacs.d/mysnippets/text-mode/scala-mode/ls.new deleted file mode 100644 index 7a28e61..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ls.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : List(..) | ||
| 3 | # -- | ||
| 4 | List(${1:args}, ${2:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new b/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new deleted file mode 100644 index 37138f0..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ls.val-new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val l = List(..) | ||
| 3 | # -- | ||
| 4 | val ${1:l} = List(${2:args}, ${3:args}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/main b/.emacs.d/mysnippets/text-mode/scala-mode/main deleted file mode 100644 index ad314b3..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/main +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name: def main(args: Array[String]) = { ... } | ||
| 3 | # -- | ||
| 4 | def main(args: Array[String]) = { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/map b/.emacs.d/mysnippets/text-mode/scala-mode/map deleted file mode 100644 index 17322a5..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/map +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : map(x => ..) | ||
| 3 | # -- | ||
| 4 | map(${1:x} => ${2:body}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/map.new b/.emacs.d/mysnippets/text-mode/scala-mode/map.new deleted file mode 100644 index 21c95fb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/map.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : Map(key -> value) | ||
| 3 | # -- | ||
| 4 | Map(${1:key} -> ${2:value}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match b/.emacs.d/mysnippets/text-mode/scala-mode/match deleted file mode 100644 index e85fac1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : cc match { .. } | ||
| 3 | # -- | ||
| 4 | ${1:cc} match { | ||
| 5 | case ${2:pattern} => $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match.can b/.emacs.d/mysnippets/text-mode/scala-mode/match.can deleted file mode 100644 index 77d475b..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match.can +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : can match { case Full(res) => .. } | ||
| 3 | # -- | ||
| 4 | ${1:option} match { | ||
| 5 | case Full(res) => $0 | ||
| 6 | |||
| 7 | case Empty => | ||
| 8 | |||
| 9 | case Failure(msg, _, _) => | ||
| 10 | |||
| 11 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match.option b/.emacs.d/mysnippets/text-mode/scala-mode/match.option deleted file mode 100644 index 5b098f1..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/match.option +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : option match { case None => .. } | ||
| 3 | # -- | ||
| 4 | ${1:option} match { | ||
| 5 | case None => $0 | ||
| 6 | case Some(res) => | ||
| 7 | |||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/mix b/.emacs.d/mysnippets/text-mode/scala-mode/mix deleted file mode 100644 index 5261e32..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/mix +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : trait T { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/ob b/.emacs.d/mysnippets/text-mode/scala-mode/ob deleted file mode 100644 index efbc82e..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/ob +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : object name extends T | ||
| 3 | # -- | ||
| 4 | object ${1:name} extends ${2:type} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pac b/.emacs.d/mysnippets/text-mode/scala-mode/pac deleted file mode 100644 index ed32216..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pac +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : package .. | ||
| 3 | # -- | ||
| 4 | package $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline b/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline deleted file mode 100644 index 77088cb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.newline +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println(..) | ||
| 3 | # -- | ||
| 4 | println(${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple b/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple deleted file mode 100644 index 3a73f9d..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.simple +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : print(..) | ||
| 3 | # -- | ||
| 4 | print(${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.string b/.emacs.d/mysnippets/text-mode/scala-mode/pr.string deleted file mode 100644 index 9c06ef7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.string +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println("..") | ||
| 3 | # -- | ||
| 4 | println("${1:msg}") $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace b/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace deleted file mode 100644 index 9a0579c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pr.trace +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : println("obj: " + obj) | ||
| 3 | # -- | ||
| 4 | println("${1:obj}: " + ${1:obj}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pri b/.emacs.d/mysnippets/text-mode/scala-mode/pri deleted file mode 100644 index 643ef2c..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pri +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : private | ||
| 3 | # -- | ||
| 4 | private $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pri.param b/.emacs.d/mysnippets/text-mode/scala-mode/pri.param deleted file mode 100644 index e53638a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pri.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : private[this] | ||
| 3 | # -- | ||
| 4 | private[${1:this}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pro b/.emacs.d/mysnippets/text-mode/scala-mode/pro deleted file mode 100644 index e4b7b59..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pro +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : protected | ||
| 3 | # -- | ||
| 4 | protected $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/pro.param b/.emacs.d/mysnippets/text-mode/scala-mode/pro.param deleted file mode 100644 index 712b050..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/pro.param +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : protected[this] | ||
| 3 | # -- | ||
| 4 | protected[${1:this}] $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/suite b/.emacs.d/mysnippets/text-mode/scala-mode/suite deleted file mode 100644 index a65cea7..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/suite +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : class T extends Suite { .. } | ||
| 3 | # -- | ||
| 4 | import org.scalatest._ | ||
| 5 | |||
| 6 | class ${1:name} extends Suite { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/test b/.emacs.d/mysnippets/text-mode/scala-mode/test deleted file mode 100644 index c4d13f6..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/test +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : @Test def testX = ... | ||
| 3 | # -- | ||
| 4 | //@Test | ||
| 5 | def test${1:name} = { | ||
| 6 | $0 | ||
| 7 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/throw b/.emacs.d/mysnippets/text-mode/scala-mode/throw deleted file mode 100644 index f9a4932..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/throw +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : throw new Exception | ||
| 3 | # -- | ||
| 4 | throw new ${1:Exception}(${2:msg}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr b/.emacs.d/mysnippets/text-mode/scala-mode/tr deleted file mode 100644 index 68d8162..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext b/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext deleted file mode 100644 index 2b82154..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T extends C { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} extends ${2:class} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with b/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with deleted file mode 100644 index 8edb409..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.ext-with +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T1 extends C with T2 { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} extends ${2:class} with ${3:trait} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tr.with b/.emacs.d/mysnippets/text-mode/scala-mode/tr.with deleted file mode 100644 index 19801eb..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tr.with +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch> | ||
| 2 | #name : trait T1 with T2 { .. } | ||
| 3 | # -- | ||
| 4 | trait ${1:name} with ${2:trait} { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try b/.emacs.d/mysnippets/text-mode/scala-mode/try deleted file mode 100644 index 0c33f10..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } catch { case e => ..} | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | $0 | ||
| 6 | } catch { | ||
| 7 | case ${1:e}: ${2:Exception} => | ||
| 8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n} | ||
| 9 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally b/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally deleted file mode 100644 index f146a20..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try.catch-finally +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } catch { case e => ..} finally { ..} | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | $0 | ||
| 6 | } catch { | ||
| 7 | case ${1:e}: ${2:Exception} => | ||
| 8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n} | ||
| 9 | } finally { | ||
| 10 | |||
| 11 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/try.finally b/.emacs.d/mysnippets/text-mode/scala-mode/try.finally deleted file mode 100644 index 63625f2..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/try.finally +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : try { .. } finally { .. } | ||
| 3 | # -- | ||
| 4 | try { | ||
| 5 | |||
| 6 | } finally { | ||
| 7 | $0 | ||
| 8 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow b/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow deleted file mode 100644 index 4e7ad69..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tup.arrow +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : element1 -> element2 | ||
| 3 | # -- | ||
| 4 | ${1:element1} -> ${2:element2} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren b/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren deleted file mode 100644 index 4bff202..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/tup.paren +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : (element1, element2) | ||
| 3 | # -- | ||
| 4 | (${1:element1}, ${2:element2}) $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val b/.emacs.d/mysnippets/text-mode/scala-mode/val deleted file mode 100644 index 3067cd4..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name = .. | ||
| 3 | # -- | ||
| 4 | val ${1:name} = ${2:obj} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val.new b/.emacs.d/mysnippets/text-mode/scala-mode/val.new deleted file mode 100644 index 35a0c6a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name = new .. | ||
| 3 | # -- | ||
| 4 | val ${1:name} = new ${2:obj} $0 \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/val.ret b/.emacs.d/mysnippets/text-mode/scala-mode/val.ret deleted file mode 100644 index 4bf4f10..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/val.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : val name: T = .. | ||
| 3 | # -- | ||
| 4 | val ${1:name}: ${2:T} = ${3:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var b/.emacs.d/mysnippets/text-mode/scala-mode/var deleted file mode 100644 index 662d6c8..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name = .. | ||
| 3 | # -- | ||
| 4 | var ${1:name} = ${2:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var.new b/.emacs.d/mysnippets/text-mode/scala-mode/var.new deleted file mode 100644 index d681c4a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var.new +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name = new .. | ||
| 3 | # -- | ||
| 4 | var ${1:name} = new ${2:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/var.ret b/.emacs.d/mysnippets/text-mode/scala-mode/var.ret deleted file mode 100644 index 9d0ac3a..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/var.ret +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : var name: T = .. | ||
| 3 | # -- | ||
| 4 | var ${1:name}: ${2:T} = ${3:obj} $0 | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/whi b/.emacs.d/mysnippets/text-mode/scala-mode/whi deleted file mode 100644 index 082c139..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/whi +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : while(cond) { .. } | ||
| 3 | # -- | ||
| 4 | while (${1:condition}) { | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/with b/.emacs.d/mysnippets/text-mode/scala-mode/with deleted file mode 100644 index 6bd94e4..0000000 --- a/.emacs.d/mysnippets/text-mode/scala-mode/with +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #Author : Jonas Bonèr <jonas@jonasboner.com> | ||
| 2 | #name : with T | ||
| 3 | # -- | ||
| 4 | with $0 \ No newline at end of file | ||
