RepoGenome VS Code Extension
VS Code extension for RepoGenome - Unified Repository Intelligence Artifact Generator.
Features
- Sidebar Panel: Explore your codebase genome with statistics and search
- Inline Annotations: See dependencies and criticality directly in your code
- Quick Access: Search and navigate to nodes in your genome
- Real-time Updates: Automatically refresh genome when files change
Requirements
- RepoGenome CLI must be installed and available in your PATH
- A
repogenome.json file in your workspace root (generate with repogenome generate)
Usage
Generate a RepoGenome for your repository:
repogenome generate /path/to/your/repository
Open the RepoGenome sidebar panel from the activity bar
Use the search box to find nodes in your genome
Toggle inline annotations from the command palette (Ctrl+Shift+P → "Toggle Inline Annotations")
Configuration
repogenome.enabled: Enable/disable the extension
repogenome.showAnnotations: Show inline code annotations
repogenome.annotationCriticalityThreshold: Minimum criticality to show annotations (0-1)
repogenome.autoUpdate: Automatically update genome on file changes
repogenome.cliPath: Path to repogenome CLI command (default: "repogenome")
Commands
repogenome.generate: Generate a new RepoGenome
repogenome.refresh: Refresh the current genome
repogenome.showNode: Show details for a specific node
repogenome.search: Search the genome
repogenome.toggleAnnotations: Toggle inline annotations
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Package extension
npm run package
Publishing
To publish the extension to the VS Code Marketplace:
Install vsce (VS Code Extension Manager):
npm install -g @vscode/vsce
Create a publisher account:
Get a Personal Access Token:
Login and publish:
vsce login your-publisher-id
vsce publish
For detailed instructions, see PUBLISHING.md.
License
MIT
| |