├── .coffeelintignore ├── .github ├── no-response.yml └── workflows │ └── ci.yml ├── .gitignore ├── .pairs ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── LICENSE.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── coffeelint.json ├── keymaps ├── snippets-1.cson └── snippets-2.cson ├── lib ├── editor-store.js ├── helpers.js ├── insertion.js ├── snippet-body-parser.js ├── snippet-body.pegjs ├── snippet-expansion.js ├── snippet-history-provider.js ├── snippet.js ├── snippets-available.js ├── snippets.cson ├── snippets.js ├── tab-stop-list.js └── tab-stop.js ├── menus └── snippets.cson ├── package.json └── spec ├── body-parser-spec.js ├── fixtures ├── package-with-broken-snippets │ └── snippets │ │ ├── .hidden-file │ │ └── invalid.json ├── package-with-snippets │ └── snippets │ │ ├── .hidden-file │ │ ├── junk-file │ │ └── test.cson └── sample.js ├── insertion-spec.js ├── snippet-loading-spec.js └── snippets-spec.js /.coffeelintignore: -------------------------------------------------------------------------------- 1 | spec/fixtures 2 | -------------------------------------------------------------------------------- /.github/no-response.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/.github/no-response.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.pairs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/.pairs -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/LICENSE.md -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/README.md -------------------------------------------------------------------------------- /coffeelint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/coffeelint.json -------------------------------------------------------------------------------- /keymaps/snippets-1.cson: -------------------------------------------------------------------------------- 1 | 'atom-text-editor:not([mini])': 2 | 'tab': 'snippets:expand' 3 | -------------------------------------------------------------------------------- /keymaps/snippets-2.cson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/keymaps/snippets-2.cson -------------------------------------------------------------------------------- /lib/editor-store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/editor-store.js -------------------------------------------------------------------------------- /lib/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/helpers.js -------------------------------------------------------------------------------- /lib/insertion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/insertion.js -------------------------------------------------------------------------------- /lib/snippet-body-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippet-body-parser.js -------------------------------------------------------------------------------- /lib/snippet-body.pegjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippet-body.pegjs -------------------------------------------------------------------------------- /lib/snippet-expansion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippet-expansion.js -------------------------------------------------------------------------------- /lib/snippet-history-provider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippet-history-provider.js -------------------------------------------------------------------------------- /lib/snippet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippet.js -------------------------------------------------------------------------------- /lib/snippets-available.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippets-available.js -------------------------------------------------------------------------------- /lib/snippets.cson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippets.cson -------------------------------------------------------------------------------- /lib/snippets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/snippets.js -------------------------------------------------------------------------------- /lib/tab-stop-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/tab-stop-list.js -------------------------------------------------------------------------------- /lib/tab-stop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/lib/tab-stop.js -------------------------------------------------------------------------------- /menus/snippets.cson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/menus/snippets.cson -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/package.json -------------------------------------------------------------------------------- /spec/body-parser-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/body-parser-spec.js -------------------------------------------------------------------------------- /spec/fixtures/package-with-broken-snippets/snippets/.hidden-file: -------------------------------------------------------------------------------- 1 | I am hidden so I shouldn't be loaded 2 | -------------------------------------------------------------------------------- /spec/fixtures/package-with-broken-snippets/snippets/invalid.json: -------------------------------------------------------------------------------- 1 | I am not a valid JSON file but that shouldn't cause a crisis 2 | -------------------------------------------------------------------------------- /spec/fixtures/package-with-snippets/snippets/.hidden-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/fixtures/package-with-snippets/snippets/.hidden-file -------------------------------------------------------------------------------- /spec/fixtures/package-with-snippets/snippets/junk-file: -------------------------------------------------------------------------------- 1 | This file isn't CSON, but shouldn't be a big deal -------------------------------------------------------------------------------- /spec/fixtures/package-with-snippets/snippets/test.cson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/fixtures/package-with-snippets/snippets/test.cson -------------------------------------------------------------------------------- /spec/fixtures/sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/fixtures/sample.js -------------------------------------------------------------------------------- /spec/insertion-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/insertion-spec.js -------------------------------------------------------------------------------- /spec/snippet-loading-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/snippet-loading-spec.js -------------------------------------------------------------------------------- /spec/snippets-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/snippets/HEAD/spec/snippets-spec.js --------------------------------------------------------------------------------