VS Code Extension: AI Memory in Your Editor
The REM Labs VS Code extension brings persistent AI memory directly into your editor. Store architecture decisions, project conventions, and debugging context -- then recall it all from the command palette or inline. No context window wasted re-explaining your codebase.
Why Memory in VS Code
Every time you open a new Copilot chat or start a fresh AI session, you lose context. The AI forgets your architecture, your conventions, your past debugging sessions. The REM Labs extension solves this by giving your editor a persistent memory layer that survives across sessions, projects, and even machines.
Install the Extension
Search for REM Labs in the VS Code Extensions marketplace, or install from the terminal:
After installation, open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and run REM Labs: Set API Key. Paste your key from remlabs.ai/console.
Store Memories from Your Editor
Select any text in your editor, right-click, and choose REM Labs: Remember Selection. Or use the command palette:
You can also store memories programmatically using the extension API in your VS Code tasks or scripts:
Automatic Context Injection
Enable Auto-Context in the extension settings, and REM Labs will automatically inject relevant memories into your Copilot Chat context. When you ask Copilot about your database setup, it checks your REM Labs memories and includes the relevant ones as context -- no manual searching required.
Workspace-Scoped Memory
Use namespaces to keep memories organized per project. Set remlabs.namespace in your workspace settings, and all memories stored from that workspace are automatically scoped. When you switch projects, you get a different memory context.
Tip: Add the namespace config to your .vscode/settings.json and commit it to version control. Every team member gets the same memory namespace automatically.
Keyboard Shortcuts
- Ctrl+Shift+R -- recall memories (search)
- Ctrl+Shift+M -- remember selection or note
- Ctrl+Shift+F5 -- recall memories relevant to current file
All shortcuts are customizable in VS Code's keyboard settings.
Give your editor a memory
Free tier. Install in seconds. Memories persist forever.
Get started free →