Installation
Installing from VS Code Marketplace
The easiest way to install VS Code GPG is through the VS Code Marketplace.
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "VS Code GPG"
- Click Install
Installing from a .vsix File
You can also install the extension from a pre-built .vsix file.
- Download the latest
.vsixfile from the Releases page - Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click the "..." menu in the Extensions view
- Select "Install from VSIX..."
- Navigate to and select the downloaded
.vsixfile
Building from Source
To build the extension from source:
Prerequisites
Build Steps
-
Clone the repository:
-
Install dependencies:
-
Build the extension:
-
Package the extension:
-
Install the generated
.vsixfile following the steps above
Post-Installation
After installing, you'll need to set up GPG keys before you can encrypt or decrypt files. See the Usage section for details.
Updating
The extension will update automatically through VS Code's standard update mechanism. To check for updates manually:
- Go to Extensions (Ctrl+Shift+X)
- Find "VS Code GPG"
- Click the Update button if available