<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><br clear="all"></div>suppose i want to report a variable state in NodeJS and/or JavaScript, for example:<br><br></div>console.log("myvar['"+property+"'] = "+myvar[property]);<br>
<br></div>because I'm a lazy guy, i want only to enter "myvar[property]", apart from console.log.<br><br></div>at start, i would enter :<br><br>console.log(myvar[property]);<br><br></div>then copy/paste "myvar[property]" :<br>
<br>console.log(myvar[property]myvar[property]);<br><br></div>adding " = +":<br><br>console.log(myvar[property] = myvar[property]);<br><br></div>then surrounding "myvar[property] = " by '"':<br>
<br>console.log("myvar[property] = "+myvar[property]);<br><br></div>i want to see the property value in the "left" hand side, then i sourround "property" by '"':<br><br>console.log("myvar["property"] = "+myvar[property]);<br>
<br></div>here is my suggestion, could it be possible by selecting "property" to add two "+" signs on each side of "property" in order to make it :<br><br>console.log("myvar["+property+"] = "+myvar[property]);<br>
<br></div>could that last step be implemanted in TextMate ?<br><br><div><div><br><div><div><div><div><div><div><div><div>-- <br><div><font color="#6600cc" face="'comic sans ms', sans-serif">Yvon@</font><font color="#6600cc" face="comic sans ms, sans-serif">48.871651804,2.384858688</font></div>
<div><br></div>
</div></div></div></div></div></div></div></div></div></div></div>