Posted By

charlieMonroe on 05/12/11


Versions (?)

 / Published in: Other

  1. In many snippets, you might have some variables that you need to change in the code itself as there would be collisions if you need to use the same code several times subsequently. For this, Snippet has a hidden feature Tokens and Placeholders - choose a placeholder (you can change both tokens and placeholders while the app is running!) and write it to the defaults using Terminal: defaults write com.fuelcollective.snippet Placeholder -string '[*]' (for a [*] placeholder). Then you can change the token the same way: defaults write com.fuelcollective.snippet Token -string 'MyTable'.

Report this snippet  

You need to login to post a comment.