T O P I C R E V I E W |
jtwillia |
Posted - Jan 21 2009 : 3:19:31 PM It would be nice if you could supply a default value for snippet arguments. Something like putting $VarType=Control$ instead of just $VarType$. Then when the argument popup window is presented to the user, the VarType input box would already have Control put into the box.
Or take it a step further, and allow $VarType=Control;int;float;string$ and then the argument window would use a combo box for that argument. But I'd be happy with just simple default value support.
|
2 L A T E S T R E P L I E S (Newest First) |
jtwillia |
Posted - Jan 22 2009 : 11:06:45 AM Awesome. Thanks. And btw get someone to paste that text onto the snippet help page!
Jeff |
sean |
Posted - Jan 22 2009 : 01:27:01 AM Sorry - simple defaults have been supported for over a year now but the documentation wasn't written for some reason.
Here are some samples: $counter=idx$ $author=%USERNAME%$ $message=(hello world)$ $anotherMessage=Here 'is' "another" message!$ $SomeDir=c:\\someDir$ $AnotherDir=%USERPROFILE%$
|