From 52cada01ed8f082e5e02d6a60aa4e825651646b7 Mon Sep 17 00:00:00 2001 From: nitodeco Date: Thu, 5 Feb 2026 01:59:26 +0100 Subject: [PATCH] feat(docs): add vscode extension docs --- docs/content/2.guide/4.vscode-extension.md | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/content/2.guide/4.vscode-extension.md diff --git a/docs/content/2.guide/4.vscode-extension.md b/docs/content/2.guide/4.vscode-extension.md new file mode 100644 index 000000000..65cb9c245 --- /dev/null +++ b/docs/content/2.guide/4.vscode-extension.md @@ -0,0 +1,32 @@ +--- +title: VS Code Extension +description: The npmx VS Code extension brings npmx.dev insights into your editor. +navigation: + icon: i-simple-icons-visualstudiocode +--- + +## Installation + +Install from the VS Code Marketplace, the Open VSX Registry or run: + +```bash +code --install-extension npmx-dev.vscode-npmx +``` + +## Features + +- **Hover Information** - Quick links to npmx.dev for package info and documentation, with provenance verification status +- **Version Completion** - Autocomplete package versions with provenance filtering support +- **Diagnostics** + - Deprecated package warnings + - Package replacement suggestions (via module-replacements) + - Vulnerability detection + +## Supported Files + +- `package.json` +- `pnpm-workspace.yaml` + +## Configuration + +For full configuration options and detailed usage, take a look at the GitHub repository.