Arsenal is a VS Code extension that helps you capture, organize, and search through your coding learnings. It integrates seamlessly with your workflow, allowing you to document code snippets and insights without leaving your editor.
Features
Arsenal Panel
Either select "arsenal-search" from command palette (CMD + SHIFT + P) or click CMD + ALT + M (Mac)to open the Arsenal panel
🔍 Log Learnings
Select code and click log learning to save the code and the context of the file
Add descriptions, function names, and library references
Automatically captures file context and project information
⚡ Smart Search
Search through your past learnings directly in VS Code
Filter by function name, library, or description
Get AI-powered responses about your code learnings
🔄 Git Integration
Automatic syncing with Git push
Project-aware learning organization
Seamless cloud backup
Installation
Install the extension from VS Code Marketplace
Install the Arsenal CLI:
npm install -g arsenal-cli
Initialize Arsenal in your project:
arsenal init
Usage
Logging Learnings
Select the code you want to save
Add:
Description (required)
Function name (optional)
Library name (optional)
Searching Learnings
Choose between:
Simple Mode: Direct search through your learnings
AI-Powered Mode: Get intelligent responses about your code
Syncing
Your learnings automatically sync when you push to Git. To manually sync:
arsenal sync
Privacy & Security
All data is stored in your project's .arsenal directory
Cloud syncing is optional and requires authentication
Your code snippets are only accessible to you and your team