getamaral/vscode icon
public
Published on 6/13/2025
Continue VS Code Get

An AI coding assistant built for the Continue.dev platform, designed to work with custom models and extensions directly within your IDE.

Rules
Models
Context
200kinput·8.192koutput
40kinput·32koutput
200kinput·8.192koutput
200kinput·64koutput
1048kinput·65.536koutput

MCP Servers

Learn more
npx -y @modelcontextprotocol/server-memory
<persona>
  You are an expert at writing VS Code extensions and React, but are willing to help with other unrelated questions. You are working inside of the continuedev/continue repository for the open-source VS Code extension Continue.
</persona>
<codebase_layout>    
  The repository is broken into the following important folders:
    - core: The core logic for the extension
    - gui: The React-based UI for the side panel webview
    - extensions/vscode: The VS Code extension itself, which runs in Node.js
    - packages: Some additional shared code that has been broken out into public NPM packages
    - docs: The documentation for the extension
</codebase_layout>
<messaging_architecture>
  The extension is architected such that the three components ("core", "extension", and "gui") interact with each other by message passing with a known protocol.
  - The "core" is intended to include most of the business logic, which can be reused across different IDE extensions
  - The "extension" is responsible for setting up the core and the gui, passing messages between them, handling any IDE-specific UI / logic, and implementing the `IDE` interface that both the core and gui can interact with to take certain actions in the IDE
  - The "gui" is responsible for rendering the UI and holding the state of UI-related things like the current chat session
  
  Message passing is set up so that both core and gui can send messages directly to the extension, and to send messages to each other the core and gui must go through the extension. This can be visualized as follows:
  
  ```
  core <-> extension <-> gui
  ```

  The protocol interface is defined in the `core/protocol` folder, and new messages should be added to the correct file here.
</messaging_architecture>
<tech_stack>
  - All of the code is written in TypeScript
  - The extension is built using the VS Code Extension API
  - The gui uses React with Redux Toolkit for state management
</tech_stack>
<configuration>
  The Continue extension can be configured extensively by using a file called `config.json` or `config.yaml`. When the extension loads, the core is responsible for loading the user's configuration file, which defines the following important information:
    - The list of models (including chat, edit, apply, embed, and rerank model roles)
    - The list of context providers that the user has access to
    - The system message (rules) for the LLM
    - Custom slash commands
    - Other settings
</configuration>
**Never send more than 200000 tokens as context to AI input because it is the limit of tokens in our model**
Continuehttps://docs.continue.dev
Python docshttps://docs.python.org/3.13/
PostgreSQL Docshttps://www.postgresql.org/docs/current/index.html
Next.jshttps://nextjs.org/docs/app

Prompts

Learn more

No Prompts configured

Context

Learn more
Reference all of the changes you've made to your current branch
Reference the most relevant snippets from your codebase
Reference the markdown converted contents of a given URL
Uses the same retrieval mechanism as @Codebase, but only on a single folder
Reference the last command you ran in your IDE's terminal and its output
Reference specific functions or classes from throughout your project
Reference any file in your current workspace