Commits

Anonymous committed 2e1bee3

- Removed useless snippets

  • Participants
  • Parent commits 747a782

Comments (0)

Files changed (201)

vendor/yasnippet/snippets/text-mode/erlang-mode/after

-#name : after ... ->
-# --
-after
-    $1 -> $0

vendor/yasnippet/snippets/text-mode/erlang-mode/begin

-#name : begin ... end
-# --
-begin
-    $0
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/beh

-#name : -behaviour(...).
-# --
--behaviour(${1:gen_server}).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/case

-#name : case ... of ... end
-# --
-case $1 of
-    $0
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/compile

-#name : -compile(...).
-# --
--compile([${1:export_all}]).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/def

-#name : -define(...,...).
-# --
--define($1,$2).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/exp

-#name : -export([]).
-#contributor : hitesh <hitesh.jasani@gmail.com>
-# --
--export([${1:start/0}]).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/fun

-#name : fun (...) -> ... end
-# --
-fun ($1) -> $0 end

vendor/yasnippet/snippets/text-mode/erlang-mode/if

-#name : if ... -> ... ; true -> ... end
-# --
-if
-    $1 -> $2;
-    true -> $0
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/ifdef

-#name : -ifdef(...). ... -endif.
-# --
--ifdef($1).
-$0
--endif.

vendor/yasnippet/snippets/text-mode/erlang-mode/ifndef

-#name : -ifndef(...). ... -endif.
-# --
--ifndef($1).
-$0
--endif.

vendor/yasnippet/snippets/text-mode/erlang-mode/imp

-#name : -import([]).
-#contributor : hitesh <hitesh.jasani@gmail.com>
-# --
--import(${1:lists}, [${2:map/2, sum/1}]).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/inc

-#name : -include("...").
-# --
--include("$1").
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/inc.lib

-#name : -include_lib("...").
-# --
--include_lib("$1").
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/loop

-#name : loop(...) -> receive _ -> loop(...) end.
-# --
-${1:loop}($2) ->
-    receive
-	${3:_} ->
-	    $1($2)
-    end.
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/mod

-#name : -module().
-#contributor : hitesh <hitesh.jasani@gmail.com>
-# --
--module(${1:`(file-name-nondirectory
-              (file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/rcv

-#name : receive ... -> ... end
-# --
-receive
-    $1 -> $0
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/rcv.after

-#name : receive after ... -> ... end
-# --
-receive
-after
-    $1 -> $0
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/rec

-#name : -record(...,{...}).
-# --
--record($1,{$2}).
-$0

vendor/yasnippet/snippets/text-mode/erlang-mode/try

-#name : try ... of ... catch after end
-# --
-try $1 of
-    $0
-catch
-after
-end

vendor/yasnippet/snippets/text-mode/erlang-mode/undef

-#name : -undef(...).
-# --
--undef($1).
-$0

vendor/yasnippet/snippets/text-mode/f90-mode/au

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : automatic
-# --
-automatic $0 

vendor/yasnippet/snippets/text-mode/f90-mode/bd

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : block data
-# --
-block data $0

vendor/yasnippet/snippets/text-mode/f90-mode/c

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : continue
-# --
-continue $0

vendor/yasnippet/snippets/text-mode/f90-mode/ch

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : character
-# --
-character $0

vendor/yasnippet/snippets/text-mode/f90-mode/cx

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : complex
-# --
-complex $0

vendor/yasnippet/snippets/text-mode/f90-mode/dc

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : double complex
-# --
-double complex $0

vendor/yasnippet/snippets/text-mode/f90-mode/do

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : do while (...) end do
-# --
-do while (${1:condition})
-   $0
-end do

vendor/yasnippet/snippets/text-mode/f90-mode/dp

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : double precision
-# --
-double precision $0

vendor/yasnippet/snippets/text-mode/f90-mode/eq

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : equivalence
-# --
-equivalence $0

vendor/yasnippet/snippets/text-mode/f90-mode/ib

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit byte
-# --
-implicit byte $0

vendor/yasnippet/snippets/text-mode/f90-mode/ic

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit complex
-# --
-implicit complex $0

vendor/yasnippet/snippets/text-mode/f90-mode/ich

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit character
-# --
-implicit character $0

vendor/yasnippet/snippets/text-mode/f90-mode/if

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : if then end if
-# --
-if ( ${1:condition} ) then
-   $0
-end if

vendor/yasnippet/snippets/text-mode/f90-mode/ii

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit integer 
-# --
-implicit integer $0

vendor/yasnippet/snippets/text-mode/f90-mode/il

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit logical
-# --
-implicit logical $0

vendor/yasnippet/snippets/text-mode/f90-mode/in

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit none
-# --
-implicit none

vendor/yasnippet/snippets/text-mode/f90-mode/inc

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : include
-# --
-include $0

vendor/yasnippet/snippets/text-mode/f90-mode/intr

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : intrinsic
-# --
-intrinsic $0

vendor/yasnippet/snippets/text-mode/f90-mode/ir

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : implicit real
-# --
-implicit real $0

vendor/yasnippet/snippets/text-mode/f90-mode/l

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : logical
-# --
-logical $0

vendor/yasnippet/snippets/text-mode/f90-mode/pa

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : parameter
-# --
-parameter $0

vendor/yasnippet/snippets/text-mode/f90-mode/pr

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : program ... end program ...
-# --
-program ${1:name}
-  $0
-end program ${1:name}

vendor/yasnippet/snippets/text-mode/f90-mode/re

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : read (*,*)
-# --
-read (${1:*},${2:*}) $0

vendor/yasnippet/snippets/text-mode/f90-mode/st

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : structure
-# --
-structure $0

vendor/yasnippet/snippets/text-mode/f90-mode/su

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : subroutine
-# --
-subroutine $0

vendor/yasnippet/snippets/text-mode/f90-mode/wr

-#contributor: Li Zhu <http://www.zhuli.name>
-#name : write (*,*)
-# --
-write (${1:*},${2:*}) $0

vendor/yasnippet/snippets/text-mode/perl-mode/eval

-#name : eval { ... } if ($@) { ... }
-# --
-eval {
-    ${1:# do something risky...}
-};
-if (\$@) {
-    ${2:# handle failure...}
-}

vendor/yasnippet/snippets/text-mode/perl-mode/for

-#name : for (...) { ... }
-# --
-for (my \$${1:var} = 0; \$$1 < ${2:expression}; \$$1++) {
-    ${3:# body...}
-}

vendor/yasnippet/snippets/text-mode/perl-mode/fore

-#name : foreach ... { ... }
-# --
-foreach my \$${1:x} (@${2:array}) {
-    ${3:# body...}
-}

vendor/yasnippet/snippets/text-mode/perl-mode/if

-#name : if (...) { ... }
-# --
-if ($1) {
-    $0
-}

vendor/yasnippet/snippets/text-mode/perl-mode/ife

-#name : if (...) { ... } else { ... }
-# --
-if ($1) {
-    $2
-} else {
-    $3
-}

vendor/yasnippet/snippets/text-mode/perl-mode/ifee

-#name : if, elsif, else ...
-# --
-if ($1) {
-	${2:# body...}
-} elsif ($3) {
-	${4:# elsif...}
-} else {
-	${5:# else...}
-}

vendor/yasnippet/snippets/text-mode/perl-mode/sub

-#name : sub ... { ... }
-# --
-sub ${1:function_name} {
-    $0
-}

vendor/yasnippet/snippets/text-mode/perl-mode/unless

-#name : unless (...) { ... }
-# --
-unless ($1) {
-    $0
-}

vendor/yasnippet/snippets/text-mode/perl-mode/while

-#name : while (...) { ... }
-# --
-while ($1) {
-    $0
-}

vendor/yasnippet/snippets/text-mode/perl-mode/xfore

-#name : ... foreach ...
-# --
-${1:expression} foreach @${2:array};

vendor/yasnippet/snippets/text-mode/perl-mode/xif

-#name : ... if ...
-# --
-${1:expression} if ${2:condition}

vendor/yasnippet/snippets/text-mode/perl-mode/xunless

-#name : ... unless ...
-# --
-${1:expression} unless ${2:condition}

vendor/yasnippet/snippets/text-mode/perl-mode/xwhile

-#name : ... while ...
-# --
-${1:expression} while ${2:condition};

vendor/yasnippet/snippets/text-mode/rst-mode/chap

-#name : Chapter title
-# --
-${1:Chapter}
-${1:$(make-string (string-width text) ?\=)}
-
-$0

vendor/yasnippet/snippets/text-mode/rst-mode/sec

-#name : Section title
-# --
-${1:Section}
-${1:$(make-string (string-width text) ?\-)}
-
-$0

vendor/yasnippet/snippets/text-mode/rst-mode/tit

-#name : Document title
-# --
-${1:$(make-string (string-width text) ?\=)}
-${1:Title}
-${1:$(make-string (string-width text) ?\=)}
-
-$0

vendor/yasnippet/snippets/text-mode/ruby-mode/#

-#name : # =>
-#group : general
-# --
-# => 

vendor/yasnippet/snippets/text-mode/ruby-mode/=b

-#name : =begin rdoc ... =end
-#group : general
-# --
-=begin rdoc
-  $0
-=end

vendor/yasnippet/snippets/text-mode/ruby-mode/Comp

-#name : include Comparable; def <=> ... end
-#group : definitions
-# --
-include Comparable
-
-def <=> other
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/all

-#name : all? { |...| ... }
-#group : collections
-# --
-all? { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/am

-#name : alias_method new, old
-#group : definitions
-# --
-alias_method :${new_name}, :${old_name}

vendor/yasnippet/snippets/text-mode/ruby-mode/any

-#name : any? { |...| ... }
-#group : collections
-# --
-any? { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/app

-#name : if __FILE__ == $PROGRAM_NAME ... end
-#group : general
-# --
-if __FILE__ == $PROGRAM_NAME
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/bm

-#name : Benchmark.bmbm(...) do ... end
-#group : general
-# --
-Benchmark.bmbm(${1:10}) do |x|
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/case

-#name : case ... end
-#group : general
-# --
-case ${1:object}
-when ${2:condition}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/cla

-#name : class << self ... end
-#group : definitions
-# --
-class << ${self}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/classify

-#name : classify { |...| ... }
-#group : collections
-# --
-classify { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/cls

-#name : class ... end
-#contributor : hitesh <hitesh.jasani@gmail.com>
-#group : definitions
-# --
-class ${1:`(let ((fn (capitalize (file-name-nondirectory
-                                 (file-name-sans-extension
-				 (or (buffer-file-name)
-				     (buffer-name (current-buffer))))))))
-           (cond
-             ((string-match "_" fn) (replace-match "" nil nil fn))
-              (t fn)))`}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/collect

-#name : collect { |...| ... }
-#group : collections
-# --
-collect { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/dee

-#name : deep_copy(...)
-#group : general
-# --
-Marshal.load(Marshal.dump($0))

vendor/yasnippet/snippets/text-mode/ruby-mode/deli

-#name : delete_if { |...| ... }
-#group : collections
-# --
-delete_if { |${e} $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/det

-#name : detect { |...| ... }
-#group : collections
-# --
-detect { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/dow

-#name : downto(...) { |n| ... }
-#group : control structure
-# --
-downto(${0}) { |${n}|
-  $0
-}

vendor/yasnippet/snippets/text-mode/ruby-mode/ea

-#name : each { |...| ... }
-#group : collections
-# --
-each { |${e}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/eac

-#name : each_cons(...) { |...| ... }
-#group : collections
-# --
-each_cons(${1:2}) { |${group}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/eai

-#name : each_index { |i| ... }
-#group : collections
-# --
-each_index { |${i}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/eav

-#name : each_value { |val| ... }
-#group : collections
-# --
-each_value { |${val}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/eawi

-#name : each_with_index { |e, i| ... }
-#group : collections
-# --
-each_with_index { |${e}, ${i}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/forin

-#name : for ... in ...; ... end
-#group : control structure
-# --
-for ${1:element} in ${2:collection}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/if

-#name : if ... end
-#group : control structure
-# --
-if ${1:condition}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/ife

-#name : if ... else ... end
-#group : control structure
-# --
-if ${1:condition}
-  $2
-else
-  $3
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/inject

-#name : inject(...) { |...| ... }
-#group : collections
-# --
-inject(${1:0}) { |${2:injection}, ${3:element}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/mm

-#name : def method_missing ... end
-#group : definitions
-# --
-def method_missing(method, *args)
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/r

-#name : attr_reader ...
-#group : definitions
-# --
-attr_reader :

vendor/yasnippet/snippets/text-mode/ruby-mode/rb

-#name : /usr/bin/ruby -wKU
-#group : general
-# --
-#!/usr/bin/ruby -wKU

vendor/yasnippet/snippets/text-mode/ruby-mode/reject

-#name : reject { |...| ... }
-#group : collections
-# --
-reject { |${1:element}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/req

-#name : require "..."
-#group : general
-# --
-require "$0"

vendor/yasnippet/snippets/text-mode/ruby-mode/rreq

-#name : require File.join(File.dirname(__FILE__), ...)
-#group : general
-# --
-require File.join(File.dirname(__FILE__), $0)

vendor/yasnippet/snippets/text-mode/ruby-mode/rw

-#name : attr_accessor ...
-#group : definitions
-# --
-attr_accessor :

vendor/yasnippet/snippets/text-mode/ruby-mode/select

-#name : select { |...| ... }
-#group : collections
-# --
-select { |${1:element}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/tim

-#name : times { |n| ... }
-#group : control structure
-# --
-times { |${n}| $0 }

vendor/yasnippet/snippets/text-mode/ruby-mode/until

-#name : until ... end
-#group: control structure
-# --
-until ${condition}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/upt

-#name : upto(...) { |n| ... }
-#group : control structure
-# --
-upto(${n}) { |${i}|
-  $0
-}

vendor/yasnippet/snippets/text-mode/ruby-mode/w

-#name : attr_writer ...
-#group : definitions
-# --
-attr_writer :

vendor/yasnippet/snippets/text-mode/ruby-mode/when

-#name : when ... end
-#group : control structure
-# --
-when ${condition}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/while

-#name : while ... end
-#group : control structure
-# --
-while ${condition}
-  $0
-end

vendor/yasnippet/snippets/text-mode/ruby-mode/y

-#name : :yields: arguments (rdoc)
-#group : general
-# --
-:yields: $0

vendor/yasnippet/snippets/text-mode/ruby-mode/zip

-#name : zip(...) { |...| ... }
-#group : collections
-# --
-zip(${enums}) { |${row}| $0 }

vendor/yasnippet/snippets/text-mode/scala-mode/act

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def act = { ..}
-# --
-def act = {
-  loop {
-    react {
-      $0
-    }
-  }
-}

vendor/yasnippet/snippets/text-mode/scala-mode/act.arg

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def act(arg: T) = { ..}
-# --
-def act(${1:arg}: ${2:type}) = {
-  loop {
-    react {
-      $0
-    }
-  }
-}

vendor/yasnippet/snippets/text-mode/scala-mode/actor

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val a = actor { ..}
-# --
-val a = actor {
-  loop {
-    react {
-      $0
-    }
-  }
-}

vendor/yasnippet/snippets/text-mode/scala-mode/ano

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : (args) => ...
-# --
-($1) => ${2:body} $0

vendor/yasnippet/snippets/text-mode/scala-mode/app

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : object name extends Application
-# --
-object ${1:name} extends Application {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/arr.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : Array[T](..)
-# --
-Array[${1:value}](${2:args}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/arr.val-new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val a = Array[T](..)
-# --
-val ${1:arr} = Array[${2:value}](${3:args}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/asof

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : asInstanceOf[T] 
-# --
-asInstanceOf[${1:type}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/ass

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : assert(x === y)
-# --
-assert(${1:x} === ${2:y}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/ass.true

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : assert(true)
-# --
-assert(true) $0

vendor/yasnippet/snippets/text-mode/scala-mode/at.author

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : @author name
-# --
-@author ${1:name} $0

vendor/yasnippet/snippets/text-mode/scala-mode/at.param

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : @param name description
-# --
-@param ${1:name} ${2:description} $0

vendor/yasnippet/snippets/text-mode/scala-mode/at.return

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : @return description
-# --
-@return ${1:description} $0

vendor/yasnippet/snippets/text-mode/scala-mode/at.version

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : @version number
-# --
-@version ${1:0.1} $0

vendor/yasnippet/snippets/text-mode/scala-mode/bang

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : actor ! message
-# --
-${1:actor} ! ${2:message} $0

vendor/yasnippet/snippets/text-mode/scala-mode/case

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : case pattern => 
-# --
-case ${1:pattern} => $0

vendor/yasnippet/snippets/text-mode/scala-mode/case.match-all

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : case _ => 
-# --
-case _ => $0

vendor/yasnippet/snippets/text-mode/scala-mode/cast

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : asInstanceOf[T] 
-# --
-asInstanceOf[${1:type}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/cc

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : case class T(arg: A)
-# --
-case class ${1:name}(${2:arg}: ${3:type}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/cl

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : class T { .. }
-# --
-class ${1:name} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/cl.abs

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : abstract class T { .. }
-# --
-abstract class ${1:name} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/cl.abs-arg

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : abstract class T(args) { .. }
-# --
-abstract class ${1:name}(${2:args}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/cl.arg

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : class T(args) { .. }
-# --
-class ${1:name}(${2:args}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/clof

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : classOf[T] 
-# --
-classOf[${1:type}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/co

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : case object T
-# --
-case object ${1:name} $0

vendor/yasnippet/snippets/text-mode/scala-mode/cons

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : element1 :: element2
-# --
-${1:element1} :: ${2:element2} $0

vendor/yasnippet/snippets/text-mode/scala-mode/cons.nil

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : element1 :: Nil
-# --
-${1:element1} :: Nil $0

vendor/yasnippet/snippets/text-mode/scala-mode/def.arg

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f(arg: T) = ...
-# --
-def ${1:name}(${2:args}) = $0

vendor/yasnippet/snippets/text-mode/scala-mode/def.arg-body

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f(arg: T) = {...}
-# --
-def ${1:name}(${2:args}) = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/def.arg-ret

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f(arg: T): R = ...
-# --
-def ${1:name}(${2:args}): ${3:Unit} = $0

vendor/yasnippet/snippets/text-mode/scala-mode/def.arg-ret-body

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f(arg: T): R = {...}
-# --
-def ${1:name}(${2:args}): ${3:Unit} = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/def.body

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f = {...}
-# --
-def ${1:name} = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/def.ret

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f: R = ...
-# --
-def ${1:name}: ${2:Unit} = $0

vendor/yasnippet/snippets/text-mode/scala-mode/def.ret-body

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f: R = {...}
-# --
-def ${1:name}: ${3:Unit} = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/def.simple

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : def f = ...
-# --
-def ${1:name} = $0

vendor/yasnippet/snippets/text-mode/scala-mode/doc.class

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** cls/trt/obj name */
-# --
-/** 
- * `(scala-mode-find-clstrtobj-name-doc)`
- * ${1:description}
- * $0  
- */

vendor/yasnippet/snippets/text-mode/scala-mode/doc.def

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** method name */
-# --
-/** 
- * `(scala-mode-def-and-args-doc)`
- */ 

vendor/yasnippet/snippets/text-mode/scala-mode/doc.file

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** file name */
-# --
-/**
- * `(scala-mode-file-doc)`
- * $0
- * @author ${1:name}
- * @version ${2:0.1} 
- */

vendor/yasnippet/snippets/text-mode/scala-mode/doc.file-scala

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** scala file */
-# --
-/*                     __                                               *\
-**     ________ ___   / /  ___     Scala $3                               **
-**    / __/ __// _ | / /  / _ |    (c) 2005-`(format-time-string "%Y")` , LAMP/EPFL             **
-**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
-** /____/\___/_/ |_/____/_/ | |                                         **
-**                          |/                                          **
-\*                                                                      */
-/** 
- * $0
- * @author ${1:name} 
- * @version ${2:0.1}
- * $Id$
- */

vendor/yasnippet/snippets/text-mode/scala-mode/doc.file-scala-api

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** scala api file */
-# --
-/*                     __                                               *\
-**     ________ ___   / /  ___     Scala API                            **
-**    / __/ __// _ | / /  / _ |    (c) 2005-`(format-time-string "%Y")`, LAMP/EPFL             **
-**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
-** /____/\___/_/ |_/____/_/ | |                                         **
-**                          |/                                          **
-\*                                                                      */
-/** 
- * $0
- * @author ${1:name} 
- * @version ${2:0.1}
- * $Id$
- */

vendor/yasnippet/snippets/text-mode/scala-mode/doc.scaladoc

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : /** ... */
-# --
-/**
- * ${1:description}
- * $0
- */

vendor/yasnippet/snippets/text-mode/scala-mode/expect

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : expect(value) { ..}
-# --
-expect(${1:reply}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/ext

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : extends T
-# --
-extends $0

vendor/yasnippet/snippets/text-mode/scala-mode/for.extract

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : x <- xs
-# --
-${1:x} <- ${2:xs}

vendor/yasnippet/snippets/text-mode/scala-mode/for.if

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : for (x <- xs if guard) { ... }
-# --
-for (${1:x} <- ${2:xs} if ${3:guard}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/for.loop

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : for (x <- xs) { ... }
-# --
-for (${1:x} <- ${2:xs}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/for.multi

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : for {x <- xs \ y <- ys} { yield }
-# --
-for {
-  ${1:x} <- ${2:xs}
-  ${3:x} <- ${4:xs}
-} {
-  yield $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/foreach

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : foreach(x => ..)
-# --
-foreach(${1:x} => ${2:body}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/hmap.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : new HashMap[K, V]
-# --
-new HashMap[${1:key}, ${2:value}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/hmap.val-new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val m = new HashMap[K, V]
-# --
-val ${1:m} = new HashMap[${2:key}, ${3:value}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/hset.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : new HashSet[K]
-# --
-new HashSet[${1:key}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/hset.val-new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val m = new HashSet[K]
-# --
-val ${1:m} = new HashSet[${2:key}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/if

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

vendor/yasnippet/snippets/text-mode/scala-mode/if.else

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

vendor/yasnippet/snippets/text-mode/scala-mode/imp

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : import ..
-# --
-import $0

vendor/yasnippet/snippets/text-mode/scala-mode/intercept

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : intercept(classOf[T]) { ..}
-# --
-intercept(classOf[${1:Exception]}) {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/isof

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : isInstanceOf[T] 
-# --
-isInstanceOf[${1:type}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/ls.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : List(..)
-# --
-List(${1:args}, ${2:args}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/ls.val-new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val l = List(..)
-# --
-val ${1:l} = List(${2:args}, ${3:args}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/main

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name: def main(args: Array[String]) = { ... }
-# --
-def main(args: Array[String]) = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/map

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : map(x => ..)
-# --
-map(${1:x} => ${2:body}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/map.new

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

vendor/yasnippet/snippets/text-mode/scala-mode/match

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : cc match { .. }
-# --
-${1:cc} match {
-  case ${2:pattern} => $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/match.can

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : can match { case Full(res) => .. }
-# --
-${1:option} match {
-  case Full(res) => $0
-
-  case Empty => 
-
-  case Failure(msg, _, _) => 
-
-}

vendor/yasnippet/snippets/text-mode/scala-mode/match.option

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : option match { case None => .. }
-# --
-${1:option} match {
-  case None => $0
-  case Some(res) => 
-
-}

vendor/yasnippet/snippets/text-mode/scala-mode/mix

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : trait T { .. }
-# --
-trait ${1:name} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/ob

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : object name extends T
-# --
-object ${1:name} extends ${2:type} $0

vendor/yasnippet/snippets/text-mode/scala-mode/pac

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : package ..
-# --
-package $0

vendor/yasnippet/snippets/text-mode/scala-mode/pr.newline

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : println(..)
-# --
-println(${1:obj}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/pr.simple

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : print(..)
-# --
-print(${1:obj}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/pr.string

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : println("..")
-# --
-println("${1:msg}") $0

vendor/yasnippet/snippets/text-mode/scala-mode/pr.trace

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : println("obj: " + obj)
-# --
-println("${1:obj}: " + ${1:obj}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/pri

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : private
-# --
-private $0

vendor/yasnippet/snippets/text-mode/scala-mode/pri.param

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : private[this]
-# --
-private[${1:this}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/pro

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : protected
-# --
-protected $0

vendor/yasnippet/snippets/text-mode/scala-mode/pro.param

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : protected[this]
-# --
-protected[${1:this}] $0

vendor/yasnippet/snippets/text-mode/scala-mode/suite

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : class T extends Suite { .. }
-# --
-import org.scalatest._
-
-class ${1:name} extends Suite {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/test

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : @Test def testX = ...
-# --
-//@Test
-def test${1:name} = {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/throw

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : throw new Exception
-# --
-throw new ${1:Exception}(${2:msg}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/tr

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : trait T { .. }
-# --
-trait ${1:name} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/tr.ext

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : trait T extends C { .. }
-# --
-trait ${1:name} extends ${2:class} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/tr.ext-with

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : trait T1 extends C with T2 { .. }
-# --
-trait ${1:name} extends ${2:class} with ${3:trait} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/tr.with

-#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
-#name : trait T1 with T2 { .. }
-# --
-trait ${1:name} with ${2:trait} {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/try

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : try { .. } catch { case e => ..}
-# --
-try {
-  $0
-} catch {
-  case ${1:e}: ${2:Exception} => 
-    ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
-}

vendor/yasnippet/snippets/text-mode/scala-mode/try.catch-finally

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : try { .. } catch { case e => ..} finally { ..}
-# --
-try {
-  $0
-} catch {
-  case ${1:e}: ${2:Exception} => 
-    ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
-} finally {
-
-}

vendor/yasnippet/snippets/text-mode/scala-mode/try.finally

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : try { .. } finally { .. }
-# --
-try {
-
-} finally {
-  $0
-}

vendor/yasnippet/snippets/text-mode/scala-mode/tup.arrow

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : element1 -> element2
-# --
-${1:element1} -> ${2:element2} $0

vendor/yasnippet/snippets/text-mode/scala-mode/tup.paren

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : (element1, element2)
-# --
-(${1:element1}, ${2:element2}) $0

vendor/yasnippet/snippets/text-mode/scala-mode/val

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val name = ..
-# --
-val ${1:name} = ${2:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/val.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val name = new ..
-# --
-val ${1:name} = new ${2:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/val.ret

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : val name: T = ..
-# --
-val ${1:name}: ${2:T} = ${3:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/var

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : var name = ..
-# --
-var ${1:name} = ${2:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/var.new

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : var name = new ..
-# --
-var ${1:name} = new ${2:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/var.ret

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : var name: T = ..
-# --
-var ${1:name}: ${2:T} = ${3:obj} $0

vendor/yasnippet/snippets/text-mode/scala-mode/whi

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

vendor/yasnippet/snippets/text-mode/scala-mode/with

-#Author : Jonas Bonèr <jonas@jonasboner.com>
-#name : with T
-# --
-with $0