Dependency Graph (
|
| Command | Title | Description |
|---|---|---|
weaver.show |
Dependency Graph: Show | Analyzes the current workspace folder and opens the interactive graph panel. |
weaver.refresh |
Dependency Graph: Refresh | Re-analyzes the workspace and refreshes the current graph view. |
weaver.showHere |
Show Dependency Graph Here | Analyzes a specific directory selected from the VS Code Explorer context menu. |
weaver.clearCache |
Dependency Graph: Clear Cache | Clears the .weaver/cache.json disk cache for cold re-indexing. |
Keyboard Shortcuts
| Shortcut (Win / Linux) | Shortcut (macOS) | Action | When |
|---|---|---|---|
| Ctrl + Alt + D | Cmd + Alt + D | weaver.show |
!terminalFocus |
Customizing Shortcuts
The default keybinding Ctrl+Alt+D (Cmd+Alt+D on macOS) does not clash with standard VS Code shortcuts and is guarded by !terminalFocus to prevent accidental triggers in the integrated terminal.
You can customize this keybinding anytime:
- Open Keyboard Shortcuts (
Ctrl+K Ctrl+SorCmd+K Cmd+S). - Search for
Dependency Graph: Showorweaver.show. - Click the edit icon to assign your preferred keybinding (e.g.
Ctrl+K Dor chord of your choice).
Settings
Customize the extension via VS Code Settings (Ctrl+, or Cmd+,), search for Dependency Graph:
| Setting | Type | Default | Description |
|---|---|---|---|
weaver.maxFileSizeKB |
integer |
1024 |
Maximum file size in KB to analyze. Larger files are skipped to preserve performance. |
weaver.extraIgnoreGlobs |
string[] |
[] |
Additional glob patterns or directory names to ignore during dependency analysis. |
weaver.foldTarget |
integer |
24 |
Target number of folded directory nodes displayed in the top-level view (range: 8–60). |
Privacy & Security Statement
- 100% Local & Static Analysis: All AST parsing, import resolution, and graph calculations occur completely locally on your machine.
- No Code Execution: Your code is never executed, evaluated, imported, or run in a runtime environment. Analysis is purely syntactic and structural.
- Zero Network Calls: Neither the extension host nor the webview visualization ever makes external network calls. No telemetry, usage data, or source code is transmitted anywhere.
- AI Off by Default: Any optional or future AI assistance capabilities remain strictly disabled by default.
Publishing
To publish the extension to extension registries:
Visual Studio Marketplace
# Requires VSCE_PAT environment variable or pass --pat <token>
pnpm publish:vsce
Note: Tokens can be created in Azure DevOps under Marketplace (Manage) scope.
Open VSX Registry (Eclipse Theia / VSCodium / Gitpod)
# Requires OVSX_PAT environment variable or pass -p <token>
pnpm publish:ovsx
Note: Tokens can be generated at open-vsx.org under Account Settings.
License
This project is licensed under the MIT License.