ℹ️ Major changes to v0.2.0, NO more flashing code executed on terminal startup!! See Change log for details!
Copy from vscode's integrated terminal to clipboard on any POSIX-compliant system, even over remote-ssh sessions!
Use cody
This is simply done by piping the output of any shell command to the cody
like:
ls ~ | cody
Copy data to local clipboard
To copy data from the integrated terminal into your local machine's system clipboard, follow these steps:
Open a new integrated terminal (Ctrl+`).
Prepare the output stream you'd like to copy and pipe into to cody. For example something like this:
ls -1 / | sort | cody
Toggle ON/OFF
You can toggle ON/OFF the extension via the Terminal to Clipboard: Toggle (Enable/Disable) command. You can also do this via the settings UI or JSON file (terminal-to-clipboard.enabled).
Change alias name
ℹ️ You can change the alias to something other than cody, with the following:
Build it yourself
Download the required packages
In the cody repository, assuming you have npm installed, run the following
npm install
Generate the out files
vsce package
Press F5 in VSCode with extension.ts open in editor, and choose VSCode Extension Development
⚠️ For now, this extension is just available for UNIX-compatible systems (Linux & macOS).