<ul dir="auto">
<li>VSCode Version:0.10.11</li>
<li>OS Version: Windows 10, Mac OSX El Captain</li>
</ul>
<p dir="auto">Hi, I'm developing <a href="https://github.com/fabiodamasceno/vscode-console-wrapper">console-wrapper</a> , that is an extension for javascript console.log (other languages support will be added soon) and I need some access for clipboard content in Extensions API. I think this methods should be enough for most of cases:</p>
<ul dir="auto">
<li>vscode.clipboard.getContent()</li>
<li>vscode.clipboard.setContent()</li>
</ul>
<p dir="auto">Some event handlers should be useful, too, like:</p>
<p dir="auto">-vscode.clipboard.beforeContentLoad()<br>
-vscode.clipboard.onContentLoad()<br>
-vscode.clipboard.onContentLoaded()</p>
<p dir="auto">Steps for the extension:</p>
<ul dir="auto">
<li>user copy some text;
<ul dir="auto">
<li>when ctrl+shift+q text is wrapped with console.log and inserted at below line.</li>
</ul>
</li>
</ul>
<p dir="auto">hugs,</p>
<p dir="auto">Support writing (and maybe reading) the system clipboard.</p>
<p dir="auto">Why I need it: I want to write an extension that will take the contents of the current editor, modify it (by escaping &lt; and &gt;) and then copy that modified text to the clipboard.</p>