-
Install dependencies
npm install
-
Compile
npm run compile
-
Debug
- Open this folder in VS Code
- Press
F5to launch a new Extension Development Host window - Open any project folder and run the
codemap: Generate Mapcommand
src/extension.ts— Extension entry pointsrc/activate.ts— Activation logicsrc/commands.ts— Command registrationssrc/parser/— Language-specific parsers + graph enginesrc/providers/— Tree view, map data, CodeLens providerssrc/views/— Webview visualization + sidebar treesrc/status/— Status bar and progress indicatorssrc/utils/— File walker, filtering, configurationtest/— Test suite with sample fixtures
| Command | ID | Shortcut |
|---|---|---|
| Generate Map | codemap.generateMap |
Ctrl+Shift+M |
| Refresh Map | codemap.refreshMap |
Ctrl+Shift+R |
| Find Circular | codemap.findCircular |
— |
| Export Map | codemap.exportMap |
— |
| Toggle Map | codemap.toggleMap |
— |
| Show Dependencies | codemap.showDependencies |
— |
npm test- Install
vsce:npm install -g @vscode/vsce - Package:
vsce package - Publish:
vsce publish