Andrew Dupont
Andrew Dupont
This is a complex issue that arises when a snippet’s prefix begins with punctuation rather than a letter. When the user hits Tab and the cursor is preceded by several...
@lacostenycoder, you're talking about changing an existing snippet from double quotes to single quotes? If so, you'd want to make that change within the package that defines it. I don't...
I can try to take a stab at this one. @philoserf, a PR that did nothing but add failing unit tests for this case would be incredibly helpful and wouldn't...
This isn’t supported as a built-in feature of snippets. But you can write a command that collects parameters in whatever manner you please and writes the output as a snippet....
This feels like a variant of [the problem I described here](https://github.com/atom/snippets/issues/200#issuecomment-366559532). In TextMate, there are commands and there are snippets; and each can be invoked by a tab trigger _or_...
My guess is that this never got prioritized because there are ways of achieving the same effect via commands. For instance, if you're trying to replicate TextMate's `$TM_SELECTED_TEXT` variable, you...
> I tried pasting it in init file and error appear "Reserved word let" What should be issue? I don’t know; I pasted that code snippet into my `init.js` just...
No, but you can define a custom command in your `init.js` to do this. Haven't tested this, but here's how your example could work: ```js atom.commands.add('atom-text-editor', { 'custom:some-command': () =>...
I'm not the decision-maker on this, but if you want feedback from a contributor: This is ambitious work — and good work, from what I can tell — but I...
I posted [a workaround over here](https://github.com/atom/github/issues/1282#issuecomment-1047342556) for those who are still suffering from this behavior.