After reading the snippets documentation I'm still searching a way to pass some text inside the snippet body by typing it after the snippet prefix.
Let's say I have a snippet with log prefix, I would like to transform the prefix in something like log(*+) to capture the text after.
If I type loganObject, the snipped should capture "anObject" and call my snippet to insert some text like console.log ("the value of anObject is: ", anObject);.
Is that possible?
I think that it is not possible because vscode should recognize that I'm still typing the prefix of the snippet and the text after the prefix should be captured and used inside the snippet body, but I hope they realized something like this.


$1, and type your extra text there. Or an extension like HyperSnips could probably do that. You could make a keybinding that inserts a snippet though that reads thelog(...)text and outputs what you want.additionaltext in a field ($1), by placing a$0you control where the cursor ends, could be inside the snippet.