Adds an Add to Dropover item to the VS Code file explorer's right-click menu.
Clicking it runs:
open -a Dropover -- /path/to/file /path/to/another
The whole selection is passed to a single open call, so multi-selecting files
drops them onto one Dropover shelf rather than creating one shelf per file.
Written in TypeScript, compiled with tsc to dist/. No runtime dependencies.
What it contributes
| Surface |
Where it shows up |
explorer/context |
Right-click a file or folder in the explorer |
editor/title/context |
Right-click an editor tab |
| Command palette |
"Add to Dropover", acting on the active editor |
All three are gated on isMac since Dropover and the open command are macOS only.
Install
Symlink the folder into the VS Code extensions directory, then reload the window:
ln -s "$PWD" ~/.vscode/extensions/dropover
Then run Developer: Reload Window from the command palette. Editing
extension.js in this repo and reloading picks the changes straight up.
For VS Code Insiders use ~/.vscode-insiders/extensions instead.
To install it as a real versioned extension:
npx @vscode/vsce package
code --install-extension dropover-0.0.2.vsix