This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
duplicate snippet placeholders #17
Comments
I think it needs to be: 'Console log extended':
'prefix': 'cll'
'body': 'console.log "$1", $2' |
Hey @kevinsawicki. Thanks for the response. So that works as you've written it. And a tab will move me between $1 and $2. But I really want it to be $1 and $1. Where the label and the variable match eachother, and a single tab takes me to the end of the variable name. I can't seem to get that working. here it is working in sublime: |
Currently Atom snippets do not support multiple cursors of the style shown in your screen capture. This is something we plan to add support though. |
👍 love this too. For example when you declare a class and the constructor must have the same name as the class you'll need to type it only once. |
+1. I think this is a duplicate of #11. |
+1 |
Duplicate of #11 |
cedhuf
added a commit
to area/language-latex
that referenced
this issue
Jul 11, 2014
Updating some snippets with the use of [placeholder duplication](atom/snippets#17)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to recreate this snippet in atom. Here is how it looks in textmate 1:
Here is how it looks in sublime text 2:
I tried both of these formats in Atom and had no luck getting two placeholders to mirror the same value as I type.
Here are some of the examples I tried:
The text was updated successfully, but these errors were encountered: