Create perfect code context for AI interactions! This powerful extension helps you generate well-formatted markdown snapshots of your code, making it easier to share context with AI assistants like ChatGPT, Claude, and others.
- Create snapshots instantly using the camera icon in your editor
- Automatically formats code with proper syntax highlighting
- Includes file structure and relevant context
- Choose specific files or include entire project structure
- Real-time file list updates as you work
- Intelligent filtering of binary and irrelevant files
- Quick select/deselect all functionality
- Generates clean, well-structured markdown
- Proper syntax highlighting for all languages
- Hierarchical project structure visualization
- Optimized for AI consumption
- Creates context-rich snapshots
- Perfect for RAG (Retrieval Augmented Generation)
- Works with all major AI assistants
- Maintains code structure and relationships
- Install the extension
- Open any file in your project
- Click the camera icon in the editor title bar
- Select files to include in your snapshot
- Add an optional prompt or description
- Your snapshot is ready to share with AI!
- Open your main code file
- Click the camera icon
- Select related files
- Your snapshot includes:
- Selected file contents
- Project structure
- Proper markdown formatting
- Open your project
- Click the camera icon
- Enable "Include Project Structure"
- Get a complete overview of your codebase
- Open specific files
- Select only relevant code
- Perfect for targeted AI assistance
Customize your snapshots through .snapshots/config.json
:
{
"default": {
"default_prompt": "",
"default_include_entire_project_structure": false,
"default_include_all_files": false
},
"excluded_patterns": [
"node_modules",
".git"
],
"included_patterns": []
}
- Use selective file inclusion for focused context
- Include project structure for broader understanding
- Add descriptive prompts for better AI context
- Configure exclusion patterns for cleaner snapshots
- 🌟 Star us on GitHub
- 🐛 Report issues on our Issue Tracker
- 💡 Contribute through Pull Requests
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Note: For development and contribution guidelines, please see CONTRIBUTING.md