Is there a snippets program that allows for tab entry of variables across the mac?
Posted
by
Jeremy Smith
on Programmers
See other posts from Programmers
or by Jeremy Smith
Published on 2012-02-08T22:12:42Z
Indexed on
2012/03/26
11:42 UTC
Read the original article
Hit count: 394
stci-software-development
|tools
I love Sublime Text editor and the ability to create code snippets like so:
<snippet>
<content><![CDATA[\$("${1:selector}").${2:method}]]></content>
<tabTrigger>jq</tabTrigger>
</snippet>
This allows me to type
jq[tab]
and then have it expand to
$("selector").method
where I am able to tab through the string 'selector' and 'method' in order to change them. But what I'd really like to do is use this same snippet when working in Chrome Dev Tools, so I was looking for a mac snippets program that could support this. However, the three programs that I looked at (Keyboard Maestro, Snippets, CodeBox) don't support the ability to tab through to highlight predetermined strings and change them.
Does anyone know of an app that will do this?
© Programmers or respective owner