+8

Variable to access clipboard content in snippets

lumpysimon 12 років тому оновлено Tanxerina Studio 8 років тому 3

It would be great if there was a way to easily access the content of the clipboard within a snippet, something like $CLIPBOARD, so for example you could do ${1:$CLIPBOARD}

And the result would be that the current content of the clipboard would substitute into the location marked with $CLIPBOARD?


Is that the idea?


You may have to be a bit more explicit in getting that thought in your head out into the world where others can see it if you want to see it realised

hi jan - yes, that's the idea, see the section about using environment variables in snippets on the documentation page.

that's great idea, is that implemented? or anyone found solution?