English | 中文
IDE Code Context Memo helps you collect selected code snippets, file locations, and task notes into a project-level memo that can be copied directly to a coding agent.
The repository contains two implementations:
forIDEA: JetBrains IDE plugin for IntelliJ IDEA and Android Studio.forVSCode: VS Code extension.
- Adds a
Code Memoside panel. - Adds
Record code contextto the editor context menu when code is selected. - Records project-relative file path, line range, best-effort code location, selected code, and a
What to donote. - Appends each record to the memo so users can freely edit the final text.
- Copies only the memo body.
- Persists task background, memo text, and history per project or workspace.
- Keeps at most 20 history snapshots and supports deleting a single snapshot.
- Supports DeepSeek/OpenAI-compatible chat completion APIs.
- Provides two editable AI prompt sets: Chinese and English.
- Uses the selected prompt language to generate memo field labels:
- Chinese:
文件,行号,位置,关键代码,要做什么 - English:
File,Line,Location,Key Code,What to do
- Chinese:
- Keeps the product UI in English.
- Uses a blank line between memo records instead of decorative separators.
AI settings include:
- Endpoint
- Model
- API Key
- Prompt Language
- Organize Memo Prompt
- Optimize Task Background Prompt
The default endpoint is DeepSeek-compatible:
https://api.deepseek.com/chat/completions
The default model is:
deepseek-v4-pro
Marketplace publishing materials and submit checklist are maintained in PUBLISHING.md.
JetBrains IDE package:
dist/code-context-memo-0.7.5.zip
VS Code package:
dist/code-context-memo-vscode-0.7.5.vsix
For JetBrains IDEs, install the zip from disk and restart the IDE after plugin updates so the IDE can reload plugin classes and actions.
JetBrains plugin requirements:
- JDK 17 or newer
- Gradle 9.0 or newer
Build:
cd forIDEA
gradle buildPluginVS Code extension requirements:
- Node.js
- VS Code CLI if you want to test local installation
Check and prepare package files:
cd forVSCode
npm run check
npm run prepare-vsixLocal build outputs are created under forIDEA/build/distributions/ and forVSCode/build/distributions/. The latest installable artifacts tracked in this repository are copied into dist/.
- JetBrains memo data is stored at project level through the IDE workspace file.
- VS Code memo data is stored at workspace level.
- AI settings are shared at application/global level.
- API keys are stored through the IDE or VS Code secret storage mechanism instead of plain memo text.
The plugins do not include telemetry. AI features are optional and only send memo/task background content to the OpenAI-compatible endpoint configured by the user. See PRIVACY.md.
MIT License. See LICENSE.

