On 5 Dec 2013, at 13:05, Yvon Thoraval wrote:
suppose i want to report a variable state in NodeJS
console.log("myvar['"+property+"'] = "+myvar[property]);
could that last step be implemanted in TextMate ?
Given your steps I would suggest creating a new snippet that is:
Then set the scope selector to:
source.js string & dyn.selection
And set the key equivalent to ".
then it wraps it in the proper string append syntax. In all other
contexts, the double-quote key works as default.