Open duckz0r opened 6 years ago
This isn’t supported as a built-in feature of snippets. But you can write a command that collects parameters in whatever manner you please and writes the output as a snippet. Here’s an example of how to insert the result of a command as a snippet.
I am trying to develop a snippet in which i can use in the body, the snippets prefix, description and/or other values.
For example:
The point is basically to be able to define values like inputs and outputs (e.g. read from a .txt file and writen on the .json file) instead of writting it all down like:
I don't think this is supported yet, nor the ability to press Ctrl+Space in the code and, within the selected snipped, be able to choose its parameters/values. Is it something doable or am I just missing something?