I need to include the name of the file that the snippet is being inserted to the output. I looked into Code Snippet Functions (http://msdn.microsoft.com/en-us/library/ms242312%28v=vs.80%29.aspx) and the selections are limited.
Is there any way to insert the name of the file that the snippet is being inserted into to the snippet output?
You can add ${1:${TM_FILENAME_BASE}}
tag in json snippet file to get file name and add it to output of snippet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With