Overview Version History Q & A Rating & Review
Code Court - VS Code Extension
Seamlessly access, create, and manage your Code Court snippets directly from VS Code.
✨ Features
📚 Snippet Management
Browse all your snippets in a dedicated sidebar
Create snippets from selected code or entire files
Edit snippets (title, description, visibility)
Delete snippets with confirmation
Insert snippets into active editor with one click
🔍 Smart Search & Filtering
Live filtering by keywords, tags, or language
Search across title, description, and code
Clear filter with one click
"No results" state with helpful message
🎨 Rich UX Features
Hover preview with Markdown-formatted code
Auto-detect language from file extension
Progress indicators for all operations
Keyboard shortcuts for quick actions
🌐 Integration
Open in browser to view/share on Code Court
Visibility control (Public, Protected, Private)
Tags support for better organization
Auto-refresh after create/edit/delete
🚀 Getting Started
Open the Code Court sidebar (click the icon in Activity Bar)
Click "Sign In" button
Browser opens to Code Court authentication
Approve access
Automatically redirected back to VS Code
Your snippets load automatically! 🎉
📖 Usage
Creating a Snippet
From selection:
Select code in any file
Right-click > "Code Court: Create Snippet from Selection"
Or: Ctrl+Shift+P > "Code Court: Create Snippet from Selection"
From entire file:
Open any file (no selection needed)
Ctrl+Shift+P > "Code Court: Create Snippet from Selection"
Wizard steps:
Enter title (min 3 characters)
Enter description (optional)
Enter tags, comma-separated (optional)
Select visibility (Public/Protected/Private)
Inserting a Snippet
From sidebar:
Click any snippet in sidebar
Code inserts at cursor position
From search:
Ctrl+Shift+P > "Code Court: Search Snippets"
Enter search query
Select snippet from results
Code inserts at cursor position
Editing a Snippet
Right-click snippet in sidebar
Select "Edit Snippet"
Update title, description, or visibility
Confirm
Filtering Snippets
Click search icon in sidebar toolbar
Enter filter keywords
Sidebar shows matching snippets only
Click clear icon to remove filter
⌨️ Keyboard Shortcuts
Command
Shortcut
Description
Sign In
-
Authenticate with Code Court
Create Snippet
-
Create from selection/file
Search Snippets
-
Filter sidebar snippets
Refresh Snippets
-
Reload from server
Tip: Use Command Palette (Ctrl+Shift+P) to access all commands
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Links
Made with ❤️ for developers by developers