VS Code
Set up Basic Memory with VS Code for file-based knowledge management and development documentation
VS Code provides excellent support for Basic Memory through direct file editing, terminal integration, and rich markdown features, making it ideal for maintaining development documentation alongside your code.
Setup
Configure VS Code Settings
Create or update .vscode/settings.json
for enhanced markdown editing:
Install Basic Memory (optional)
Install Recommended Extensions
Essential Extensions:
- Markdown All in One - Rich markdown editing with preview
- Markdown Preview Enhanced - Advanced preview features
- Git Graph - Visual git history for your knowledge base
- Terminal - Built-in terminal for Basic Memory CLI
Integration Features
File-Based Editing
Live Editing
Edit markdown files with syntax highlighting and preview
Instant Sync
Changes automatically sync to knowledge graph
Search Integration
Use VS Code search across all documentation
Git Integration
Version control your knowledge alongside code
Terminal Integration
Set up CLI aliases for quick access:
Multi-Root Workspace
Combine multiple projects in one workspace:
Quick Start
Project Structure
Organize your project with integrated knowledge:
Basic Usage
- Edit documentation in VS Code with full IDE features
- Use split editor - code on left, documentation on right
- Terminal commands for quick Basic Memory operations
- File explorer to navigate between code and docs
- Git integration to version control everything together
VS Code Snippets
Create custom snippets for Basic Memory patterns. Add to .vscode/markdown.json
:
Troubleshooting
Common Issues
Performance Tips
- Exclude large files: Configure search.exclude appropriately
- Use workspace: Better performance than opening large folders
- Limit extensions: Only install needed extensions
- Regular cleanup: Archive old documentation periodically
Integration Benefits
Development Workflow
- Real-time documentation - Edit docs as you code
- Unified search - Search code and documentation together
- Git versioning - Track changes to both code and knowledge
- Split editing - View code and docs simultaneously
- Terminal access - Quick Basic Memory commands
File Management
- Direct editing - No need for external tools
- Rich preview - See formatted markdown in real-time
- Folder organization - Maintain clear structure
- Link navigation - Follow wikilinks between notes
- Syntax highlighting - Clear visual editing