Added .select snippet.

Actually included renamed snippets.
This commit is contained in:
Arthur Carabott 2009-04-18 11:59:12 +01:00
parent 89337785a9
commit ec3d0d1ff5
14 changed files with 220 additions and 0 deletions

18
Snippets/_any.tmSnippet Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.any { |${1:i}tem, $1|
$2
};</string>
<key>name</key>
<string>.any</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.any</string>
<key>uuid</key>
<string>DF09CE07-5704-4932-8DC7-86A1ECE54401</string>
</dict>
</plist>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.collect({|${1:i}tem, $1| $2 })
</string>
<key>name</key>
<string>.collect</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.collect</string>
<key>uuid</key>
<string>36B59028-5F9E-4023-B0CB-46BA991E4A0F</string>
</dict>
</plist>

18
Snippets/_do.tmSnippet Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>do { |${1:arg}|
$2
};</string>
<key>name</key>
<string>do ...</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>do</string>
<key>uuid</key>
<string>CD1B6200-5017-4892-9A71-8C217F308C5A</string>
</dict>
</plist>

18
Snippets/_every.tmSnippet Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>every { |${1:i}tem, $1|
$2
};</string>
<key>name</key>
<string>.every</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.every</string>
<key>uuid</key>
<string>43EED273-EF78-473E-8BF0-650D2FC19CCA</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.openCodeFile</string>
<key>name</key>
<string>.openCodeFile</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.c</string>
<key>uuid</key>
<string>2635D12B-F4B6-45B6-8BA4-B50215737165</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.openHelpFile</string>
<key>name</key>
<string>.openHelpFile</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.h</string>
<key>uuid</key>
<string>8FA2A21C-E1C9-41AE-AEAB-7FF573747A7C</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.postln;</string>
<key>name</key>
<string>.postln</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.p</string>
<key>uuid</key>
<string>89218E54-78ED-4C0B-92C9-8FEC7E3B2664</string>
</dict>
</plist>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.select({|${1:i}tem, $1| $2 })
</string>
<key>name</key>
<string>.select</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.select</string>
<key>uuid</key>
<string>A29A295B-A0A4-4E8E-B144-802098C5D806</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>asCompileString</string>
<key>name</key>
<string>asCompileString</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>ascs</string>
<key>uuid</key>
<string>BA4AE872-4314-4D57-B2C6-6A66CCC5F55E</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>doneAction: ${1:2}$2</string>
<key>name</key>
<string>doneAction</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>da</string>
<key>uuid</key>
<string>EEDC65AF-1F53-4E2F-AA08-D1E04FAC5B1D</string>
</dict>
</plist>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>.makeBundle(${1:0.2}, {
$2
});</string>
<key>name</key>
<string>makeBundle</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>.mb</string>
<key>uuid</key>
<string>66B16E22-D3FB-464F-B820-2FEEFD79DBA5</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>s.queryAllNodes</string>
<key>name</key>
<string>s.queryAllNodes</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>s.q</string>
<key>uuid</key>
<string>F0523CC5-90CA-49B5-82BA-4EF94A675767</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>^super.new.init$0;</string>
<key>name</key>
<string>^super.new.init</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>rsup</string>
<key>uuid</key>
<string>AAB067B5-0CF4-476D-8EF6-A5240A1883F1</string>
</dict>
</plist>

View File

@ -58,6 +58,8 @@
<string>44E4E852-1518-4E8C-84F1-9990A1B910ED</string> <string>44E4E852-1518-4E8C-84F1-9990A1B910ED</string>
<string>66B16E22-D3FB-464F-B820-2FEEFD79DBA5</string> <string>66B16E22-D3FB-464F-B820-2FEEFD79DBA5</string>
<string>C94CF802-251A-44FE-87CB-4C50FA4D4D02</string> <string>C94CF802-251A-44FE-87CB-4C50FA4D4D02</string>
<string>36B59028-5F9E-4023-B0CB-46BA991E4A0F</string>
<string>A29A295B-A0A4-4E8E-B144-802098C5D806</string>
</array> </array>
<key>uuid</key> <key>uuid</key>
<string>7613A472-3FAB-454C-8CF2-2E62F0D00920</string> <string>7613A472-3FAB-454C-8CF2-2E62F0D00920</string>