Home Download Buy Blog Forum Support

Route interpolated code in snippets to command

Route interpolated code in snippets to command

Postby guillermooo on Fri Apr 16, 2010 10:33 pm

ST ignores interpolated code in snippets:

Code: Select all
<a href="`$PWD`.html">$TM_SELECTED_TEXT</a>


I'd like to have an option called something like interpolatedCodeCommand that would pass the code to a command, read its output (command.read()) and merge the text with the snippet. If interpolatedCodeCommand equals None (default), the code will still be ignored.

Could this be done?
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests