mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Add sample .atom directory to project root
This commit is contained in:
10
.atom/atom.coffee
Normal file
10
.atom/atom.coffee
Normal file
@@ -0,0 +1,10 @@
|
||||
requireExtension 'autocomplete'
|
||||
requireExtension 'strip-trailing-whitespace'
|
||||
requireExtension 'fuzzy-finder'
|
||||
requireExtension 'tree-view'
|
||||
requireExtension 'command-panel'
|
||||
requireExtension 'keybindings-view'
|
||||
requireExtension 'snippets'
|
||||
|
||||
# status-bar is a bit broken until webkit gets a decent flexbox implementation
|
||||
# requireExtension 'status-bar'
|
||||
34
.atom/snippets/coffee.snippets
Normal file
34
.atom/snippets/coffee.snippets
Normal file
@@ -0,0 +1,34 @@
|
||||
snippet de "Describe block"
|
||||
describe "${1:description}", ->
|
||||
${2:body}
|
||||
endsnippet
|
||||
|
||||
snippet i "It block"
|
||||
it "$1", ->
|
||||
$2
|
||||
endsnippet
|
||||
|
||||
snippet be "Before each"
|
||||
beforeEach ->
|
||||
$1
|
||||
endsnippet
|
||||
|
||||
snippet ex "Expectation"
|
||||
expect($1).to$2
|
||||
endsnippet
|
||||
|
||||
snippet log "Console log"
|
||||
console.log $1
|
||||
endsnippet
|
||||
|
||||
snippet ra "Range array"
|
||||
[[$1, $2], [$3, $4]]
|
||||
endsnippet
|
||||
|
||||
snippet pt "Point array"
|
||||
[$1, $2]
|
||||
endsnippet
|
||||
|
||||
snippet spy "Jasmine spy"
|
||||
jasmine.createSpy("${1:description}")$2
|
||||
endsnippet
|
||||
Reference in New Issue
Block a user