Hi there,
is there a way to read a project setting from within a snippet?
Here is my example…
In WordPress you use textdomains to translate strings
__( 'string to translate', 'textdomain' );
This textdomains changes in every project
I use a __
as a tab triggered snippet to call this __( '${1:String}', '${2:Textdomain}' );
It would be cool to read the project properties so I only have to define the textdomain once.
Also it would be cool to transform a mirrored user input
<label for="{$1:strtolower}">$1</label><input name="{$1:strtolower}" id="{$1:strtolower}" value="$2 placeholder="$3"">
Cheers Ralf