A VSCode extension that seamlessly integrates with LockedIn AI Copilot, enabling you to send code snippets and manage context directly from your editor.
Features
Send Code to Copilot
Quickly send selected code or entire files to LockedIn AI Copilot for analysis and assistance
Keyboard shortcut: Ctrl+Alt+L (Windows/Linux) or Cmd+Alt+L (Mac)
Command: LockedIn: Send Code to Copilot
Add Code to Context
Add code snippets to Copilot's context without triggering immediate AI processing
Build up context with multiple code selections for more comprehensive assistance
Keyboard shortcut: Ctrl+Alt+K (Windows/Linux) or Cmd+Alt+K (Mac)
Command: LockedIn: Add Code to Copilot Context
Authentication
Login with your LockedIn AI account
Commands:
LockedIn: Login - Authenticate with your account
LockedIn: Logout - Sign out from the extension
LockedIn: Show Login Status - Check your current authentication status
Installation
Install the extension from VSCode Marketplace (or load from VSIX)
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
Run LockedIn: Login to authenticate with your account
Usage
Basic Workflow
Select code in your editor
Press Ctrl+Alt+L (or Cmd+Alt+L on Mac) to send it directly to Copilot
Or press Ctrl+Alt+K (or Cmd+Alt+K on Mac) to add it to context for later use
Managing Context
You can build up context by adding multiple code snippets before sending them to Copilot. This is useful when you need the AI to consider code from multiple files or locations.
Requirements
Active LockedIn AI account
Network access to LockedIn AI servers
Development
Build from source
# Install dependencies
pnpm install
# Compile
pnpm run compile
# Watch mode
pnpm run watch
Local Development
Create a .env file in the project root to set the environment:
LOCKEDIN_VSCODE_ENV=dev
Supported values: dev, preprod, prod (default: prod). The .env file is loaded automatically by launch.json when debugging.