snippets
snippets copied to clipboard
Atom snippets package
Because snippets are represented as Objects, a snippet called `__proto__` actually gets assigned as the object's real `__proto__`! Definitely not intentional. Blocked on atom/season#23, which is transmitting the CSON data...
I want to create a snippets package with several nested folder structure. ``` snippets -- javascript -- my-snippet-code.cson ``` Currently it did not work, by exam the source code, it...
Consider a snippet with multiple caret. For instance, the `\begin{} ... \end{}` snippet ``` '\\\\begin{}…\\\\end{}': 'prefix': 'begin' 'body': '\\\\begin{${1:env}}\n\t$2\n\\\\end{${1:env}}' ``` in `language-latex`. When I'm editing the placeholder, everything is mirrored...
Using Atom 1.12.4, autocomplete-snippets 1.11.0 and snippets 1.0.4 This is the custom snippet: ```cson '.text.html.basic': 'hyperlink': 'prefix': 'a' 'body': '$2$3' ``` When using a outside li, the autocomplete makes the...
Hi, My snippets package has version 1.0.2 Below i reduced my snippets-file to one example. The grammar exists and is set for the document. Autocompletion offers me: |_______________________________________ | ->|...
Allow option for each snippet as to whether it is expanded when spacebar, rather than tab is pressed
E.g. ``` a is b ``` becomes: ``` a === b ``` In the `snippets.cson`: ``` '===': 'prefix': 'is' 'body': '=== ' 'activation-key': 'space' ``` This is similar functionality offered...
Hi! ``` 'st:setglobal': 'prefix': 'st:setglobal' 'body': '''''' ``` st:set_ENTER_ leaves me with `st:` However typing stset_ENTER_ works. Any way to get both work properly?
I work on some projects with a tabLength of 4 but when I install snippet packages like [atom-jasmine](https://github.com/zacharytamas/atom-jasmine/blob/master/snippets/blocks.cson) it indents the snippets wrong. In one of my own snippets I...
## Summary What I'm proposing is a new provided service to manipulate snippets programmatically. Such a service would have to do the following: - Emit an event when the existing...