ViperPad for VS Code
ViperPad is a document editor and preview workspace for VS Code.
Install from the Marketplace
- Open VS Code.
- Open Extensions from the Activity Bar, or press
Ctrl+Shift+X on Windows/Linux or Cmd+Shift+X on macOS.
- Search for ViperPad.
- Select ViperPad by BookMotives.
- Select Install.
After installation, ViperPad is available in your VS Code workspace.
Install from a VSIX File
Use this option when you have been given a .vsix installation file:
- Open VS Code.
- Open the Extensions view.
- Select the ... menu in the Extensions view.
- Select Install from VSIX....
- Choose the ViperPad
.vsix file.
- Select Reload if VS Code asks you to reload.
Open ViperPad
- Open the Command Palette with
Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS.
- Type ViperPad: Open.
- Select ViperPad: Open.
You can open ViperPad from the Command Palette whenever you need it.
Features
- Open a file through the VS Code file picker.
- Load and edit the active VS Code document.
- Save changes back to the loaded document.
- Preview Markdown and HTML documents.
- Preview PDF documents.
- Preview and edit DOCX documents.
- Open HTTP and HTTPS resources as read-only documents.
- Copy and clear the current document location.
- Jump to an editor line and column.
- Open a VS Code integrated terminal in the loaded file's directory.
Developers
The standalone ViperPad app uses Rust, Axum, and a browser UI. This extension hosts the ViperPad UI inside a VS Code webview and bridges editor operations through the VS Code extension API.
ViperPad webview
-> postMessage
VS Code extension host
-> vscode.workspace / vscode.window / commands / terminals
Local Development
Install dependencies and compile the extension:
npm install
npm run compile
To test the extension in VS Code:
- Open the project folder in VS Code.
- Open Run and Debug.
- Select Run ViperPad Extension.
- Press
F5 or Start Debugging.
- In the new Extension Development Host window, run ViperPad: Open from the Command Palette.
Support
For questions or issues, visit the project's GitHub repository:
https://github.com/odioski/viperpad-vscode