+3

snippets need a $Indent and a $clipboard

Robert Babiak 11 jaar geleden 0

I would like a couple more macros for use in a snippet. 

Can we have $indent this would make a best guess at what the proper indentation be from the start of the line and insert the correct number of tabls or spaces. 


I would also like a $clipboard that will insert the contents of the clip board. 


What i would like to make is the following 

<![CDATA[$indent print "$clipboard=",$clipboard]] for python. (not sure how to handle the space between $indent and print)