mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
29 lines
754 B
Plaintext
29 lines
754 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>beforeRunningCommand</key>
|
|
<string>nop</string>
|
|
<key>command</key>
|
|
<string>cat <<SNIPPET
|
|
${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}: function(\${1:args}) {
|
|
\$0
|
|
}\${2:,}
|
|
SNIPPET</string>
|
|
<key>fallbackInput</key>
|
|
<string>word</string>
|
|
<key>input</key>
|
|
<string>selection</string>
|
|
<key>keyEquivalent</key>
|
|
<string>~$
|
|
</string>
|
|
<key>name</key>
|
|
<string>New Method</string>
|
|
<key>output</key>
|
|
<string>insertAsSnippet</string>
|
|
<key>scope</key>
|
|
<string>source.js</string>
|
|
<key>uuid</key>
|
|
<string>1717B5AE-209B-4548-9155-9E88A7230C1C</string>
|
|
</dict>
|
|
</plist>
|