Categories & Organization
Keep your snippet library organized and easy to navigate with categories, tags, and smart organization strategies.
What are Categories?โ
Simple Explanation: Categories are folders that group related snippets together, making them easier to find and manage.
Example:
๐ Docker Commands
โโ Container Start
โโ Container Stop
โโ View Logs
โโ Cleanup
๐ Git Operations
โโ Create Branch
โโ Pull & Rebase
โโ Merge Branch
๐ Database Tasks
โโ MySQL Backup
โโ PostgreSQL Restore
โโ MongoDB Export
Why Use Categories?โ
1. Quick Navigationโ
Without categories:
All Snippets (83 items)
- Container Start
- MySQL Backup
- Create Branch
- Server Health
- PostgreSQL Restore
- View Logs
- ...and 77 more (scroll, scroll, scroll)
With categories:
Docker (12) โ Click โ See only Docker snippets
Git (8) โ Click โ See only Git snippets
Database (15) โ Click โ See only Database snippets
2. Better Organizationโ
Group by:
- Technology (Docker, Git, Database)
- Purpose (Backup, Deployment, Monitoring)
- Frequency (Daily, Weekly, Emergency)
- Environment (Dev, Staging, Production)
- Team (Frontend, Backend, DevOps)
3. Easier Maintenanceโ
Want to update all Docker snippets?
โ Filter by Docker category
โ See all at once
โ Update as needed
4. Team Collaborationโ
๐ Team Standards (shared)
๐ Personal Tools (yours only)
๐ Experimental (testing)
Creating Categoriesโ
Method 1: From Categories Viewโ
1. Click "Snippets" in sidebar
2. Switch to "Categories" tab
3. Click "NEW CATEGORY" button
4. Fill in details:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ New Category โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Name: * โ
โ [Docker Commands ] โ
โ โ
โ Description: โ
โ [All Docker-related operations including โ
โ container management, image building, โ
โ and compose operations] โ
โ โ
โ Color: โ
โ โฌค Blue โ Green โ Red โ Purple โ
โ โ Orange โ Yellow โ Gray โ Pink โ
โ โ
โ Icon: (optional) โ
โ [๐ณ Docker Whale ] โ
โ โ
โ [Cancel] [Create] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
5. Click "Create"
Method 2: While Creating Snippetโ
1. Create new snippet
2. In "Category" dropdown
3. Click "+ Create New Category"
4. Fill in details
5. New category created
6. Automatically assigned to snippet
Method 3: Quick Createโ
1. In category filter dropdown
2. Type new category name
3. Press Enter
4. Category created instantly
Category Propertiesโ
Name (Required)โ
Clear, descriptive category name:
Good Names:
โ Docker Commands
โ Git Operations
โ Database Management
โ System Administration
โ Backup & Recovery
โ Deployment Scripts
โ Monitoring Tools
Bad Names:
โ Commands
โ Scripts
โ Misc
โ Other
โ Temp
Naming Patterns:
By Technology:
Docker Commands
Git Operations
Kubernetes Resources
Node.js Scripts
Python Tools
By Purpose:
Backup Operations
Deployment Procedures
Health Checks
Log Analysis
Security Scans
By Frequency:
Daily Tasks
Weekly Maintenance
Monthly Reports
Emergency Procedures
Description (Optional but Recommended)โ
What belongs in this category:
Good Description:
All Docker-related operations including:
- Container lifecycle management
- Image building and pulling
- Docker Compose operations
- Network configuration
- Volume management
Use for any Docker command snippets.
Include:
- What belongs here
- What doesn't belong here
- Common use cases
- Team conventions
Color (Optional)โ
Visual identification:
Color Strategy:
By Type:
๐ต Blue - Infrastructure (Docker, Kubernetes)
๐ข Green - Deployment & CI/CD
๐ด Red - Emergency & Critical
๐ฃ Purple - Monitoring & Logs
๐ Orange - Development Tools
๐ก Yellow - Testing & QA
โช Gray - Miscellaneous
๐ด Pink - Deprecated
By Environment:
๐ต Blue - Development
๐ข Green - Staging
๐ด Red - Production
๐ก Yellow - Testing
By Team:
๐ต Blue - Frontend
๐ข Green - Backend
๐ฃ Purple - DevOps
๐ Orange - QA
Icon (Optional)โ
Emoji or icon for quick recognition:
Common Icons:
๐ณ Docker
๐ฆ Packages
๐ง Tools
๐๏ธ Database
๐ Network
๐ Monitoring
๐ Security
๐ Deployment
๐ CI/CD
๐ Logging
โก Performance
๐ Debugging
๐งช Testing
๐ Documentation
Finding Icons:
- Use emoji picker (Win+. or Cmd+Ctrl+Space)
- Copy from Emojipedia
- Use icon libraries
Organizing Snippetsโ
Assign to Categoryโ
During Creation:
1. Create new snippet
2. Select category from dropdown
3. Save
After Creation:
1. Edit snippet
2. Change category
3. Save
Bulk Assignment:
1. Select multiple snippets (Ctrl+Click)
2. Right-click selection
3. "Assign to Category"
4. Choose category
5. Apply to all
Move Between Categoriesโ
1. Select snippet(s)
2. Drag and drop to category
Or:
1. Right-click snippet
2. "Move to Category"
3. Select destination
4. Confirm
Remove from Categoryโ
1. Edit snippet
2. Category dropdown
3. Select "Uncategorized"
4. Save
Or:
1. Right-click snippet
2. "Remove from Category"
3. Moves to Uncategorized
Category Managementโ
View Snippets by Categoryโ
Method 1: Filter Dropdown
1. Category filter
2. Select category
3. View filtered list
Method 2: Category Cards
1. Categories tab
2. Click category card
3. Shows all snippets in category
Method 3: Sidebar
โโ All Snippets (83)
โโ Uncategorized (5)
โโ Docker (12)
โโ Git (8)
โโ Database (15)
โโ ...
Edit Categoryโ
1. Categories tab
2. Click category card
3. Click "Edit" button (pencil icon)
4. Modify details:
- Name
- Description
- Color
- Icon
5. Save changes
Affects:
- Category display name
- All snippets in category
- Filter dropdown
- Visual appearance
Delete Categoryโ
1. Categories tab
2. Find category to delete
3. Click "Delete" button (trash icon)
4. Choose what happens to snippets:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Delete Category โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ What should happen to the 12 snippets โ
โ in "Docker Commands"? โ
โ โ
โ โฆฟ Move to Uncategorized โ
โ โ Move to another category: โ
โ [Git Operations โผ] โ
โ โ Delete snippets too (dangerous!) โ
โ โ
โ [Cancel] [Delete] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Options:
- Move to Uncategorized (Safe, recommended)
- Move to another category (If merging)
- Delete snippets too (โ ๏ธ Cannot be undone!)
Merge Categoriesโ
Combine two categories:
1. Select category to merge FROM
2. Click "Merge" button
3. Select category to merge INTO
4. Confirm merge
5. Snippets moved
6. Old category deleted
Example:
Before:
- Docker Commands (8 snippets)
- Docker Tools (4 snippets)
After merge:
- Docker Commands (12 snippets)
Rename Categoryโ
1. Edit category
2. Change name
3. Save
Updates everywhere:
- Category list
- Filter dropdown
- Snippet assignments
- Sort order
Organization Strategiesโ
Strategy 1: By Technology Stackโ
For: Development teams
๐ Frontend
โโ npm commands
โโ React builds
โโ Testing
๐ Backend
โโ Node.js
โโ Python
โโ Database
๐ DevOps
โโ Docker
โโ Kubernetes
โโ CI/CD
Strategy 2: By Workflow Stageโ
For: Deployment processes
๐ 1. Build
โโ Compile, bundle, test
๐ 2. Deploy
โโ Upload, restart, verify
๐ 3. Monitor
โโ Logs, metrics, alerts
๐ 4. Rollback
โโ Emergency procedures
Strategy 3: By Frequencyโ
For: Task prioritization
๐ Daily Tasks
โโ Used every day
๐ Weekly Tasks
โโ Regular maintenance
๐ Monthly Tasks
โโ Periodic operations
๐ Emergency
โโ Critical procedures
Strategy 4: By Environmentโ
For: Multi-environment setups
๐ Development
โโ Local dev commands
๐ Staging
โโ Testing procedures
๐ Production
โโ Live deployment
Strategy 5: By Service/Projectโ
For: Microservices
๐ API Service
โโ API-specific commands
๐ Frontend App
โโ Frontend operations
๐ Worker Service
โโ Background jobs
๐ Shared
โโ Common utilities
Strategy 6: Hybrid Approachโ
Combine strategies:
๐ Production
โโ Docker
โโ Database
โโ Monitoring
๐ Staging
โโ Docker
โโ Database
โโ Testing
๐ Development
โโ Local Setup
โโ Tools
Advanced Organizationโ
Nested Categories (Workaround)โ
Not directly supported, but use naming:
๐ Docker: Containers
๐ Docker: Images
๐ Docker: Compose
๐ Docker: Networks
๐ Docker: Volumes
Filter by "Docker:" to see all
Category Conventionsโ
Team standards:
# Team Snippet Organization
## Naming Convention
[Team] - [Technology] - [Purpose]
Examples:
- DevOps - Docker - Deployment
- Backend - Database - Backup
- Frontend - Build - Production
## Color Coding
- Blue: Infrastructure
- Green: Deployment
- Red: Emergency
- Purple: Monitoring
## Description Template
Purpose: [What is this for]
Contains: [Types of snippets]
Owner: [Team responsible]
Updated: [Last review date]
Category Templatesโ
Create category set for new project:
Default Project Categories:
1. Setup & Configuration
2. Development Commands
3. Build & Test
4. Deploy to Staging
5. Deploy to Production
6. Monitoring & Logs
7. Troubleshooting
8. Maintenance
Export/Import:
1. Export categories as template
2. Import for new project
3. Consistent organization
Smart Categories (Virtual)โ
Filter-based views:
Recently Used
โโ Shows last 10 used snippets
โโ Across all categories
Favorites
โโ Starred snippets
โโ Quick access
Most Used
โโ Top 20 by usage count
โโ Find popular commands
Search Within Categoriesโ
Scoped Searchโ
Search only in category:
1. Select category filter
2. Type search query
3. Results filtered to category
Example:
Category: Docker
Search: "restart"
Results: Only Docker snippets with "restart"
Cross-Category Searchโ
Search all categories:
1. Clear category filter (select "All")
2. Type search query
3. Results from all categories
4. Category shown for each result
Category Statisticsโ
View Category Infoโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Docker Commands ๐ณ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 12 snippets โ
โ 47 total executions โ
โ Last used: 2 hours ago โ
โ Created: Jan 15, 2024 โ
โ โ
โ Most used snippet: โ
โ โ Container Restart (15 uses) โ
โ โ
โ Recently added: โ
โ โ Cleanup Unused Images (2 days ago) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Category Analyticsโ
Insights:
๐ Category Usage This Week:
1. Docker Commands (45 executions)
2. Git Operations (32 executions)
3. Database (18 executions)
4. Deployment (12 executions)
Most active day: Wednesday
Peak hour: 2-3 PM
Import & Export Categoriesโ
Export Categoriesโ
Export category structure:
1. Click "Export Categories"
2. Select which categories
3. Include snippets: Yes/No
4. Save .json file
Export format:
{
"categories": [
{
"name": "Docker Commands",
"description": "All Docker operations",
"color": "blue",
"icon": "๐ณ",
"snippets": [...]
}
]
}
Import Categoriesโ
Import category set:
1. Click "Import Categories"
2. Select .json file
3. Handle conflicts:
- Skip existing
- Merge
- Replace
4. Complete import
Share Categoriesโ
With team:
1. Export category with snippets
2. Share file via:
- Email
- Slack
- Git repository
- Shared drive
3. Team imports
4. Consistent structure
Best Practicesโ
1. Start Simpleโ
Don't over-organize:
โ Start with 5-7 broad categories
โ Add more as library grows
โ Refine over time
โ Create 30 categories immediately
2. Clear Boundariesโ
Avoid overlap:
โ Docker Commands
โ Kubernetes Operations
โ Docker Commands
โ Container Operations (overlaps!)
3. Consistent Namingโ
Pick a pattern:
โ Docker Commands
โ Git Operations
โ Database Tasks
โ Docker Commands
โ Working with Git
โ DB
4. Regular Reviewโ
Monthly maintenance:
โก Remove empty categories
โก Merge similar categories
โก Rename for clarity
โก Update descriptions
โก Check color coding
5. Team Alignmentโ
For teams:
1. Document category strategy
2. Share with team
3. Regular sync meetings
4. Collect feedback
5. Iterate
6. Limit Category Countโ
Optimal range:
Personal use: 8-15 categories
Small team: 10-20 categories
Large team: 15-30 categories
Too many = hard to navigate
Too few = everything mixed
7. Use Uncategorized Wiselyโ
Temporary holding:
Use for:
โ Quick saves (categorize later)
โ Experimental snippets
โ One-time commands
Don't use for:
โ Permanent storage
โ Important snippets
Troubleshootingโ
Can't Find Snippetโ
Issue: Lost snippet after reorganizing
Solutions:
- Clear category filter
- Search by name
- Check "Uncategorized"
- Check "Recently Modified"
Category Won't Deleteโ
Issue: Delete button disabled
Cause: Category has snippets
Solution:
- Move snippets first
- Then delete category
Or:
- Choose "Move to Uncategorized"
- When deleting
Too Many Categoriesโ
Issue: 40+ categories, hard to navigate
Solutions:
- Merge similar categories
- Use naming prefixes
- Create "Archive" category
- Export rarely-used categories
Category Color Not Showingโ
Issue: All categories same color
Cause: Theme settings or color not saved
Fix:
- Edit category
- Select color again
- Save
- Refresh view
Tips & Tricksโ
1. Quick Category Switchโ
Keyboard shortcuts:
Ctrl+1 โ Category 1
Ctrl+2 โ Category 2
...
Ctrl+9 โ Category 9
Ctrl+0 โ All categories
2. Category Searchโ
Find category fast:
Start typing category name in filter
Dropdown filters as you type
Press Enter to select
3. Drag & Drop Organizationโ
Drag snippet โ Drop on category
Instant categorization!
4. Bulk Categorizationโ
Organize many at once:
1. Select multiple snippets
2. Right-click โ "Assign Category"
3. Choose category
4. All assigned
5. Category Templatesโ
Save category structures:
Export categories without snippets
Use as template for new projects
Instant organization system
6. Color-Code by Priorityโ
๐ด Red: Critical/Emergency
๐ Orange: Important
๐ก Yellow: Medium priority
๐ข Green: Low priority
โช Gray: Archive/Deprecated
7. Icon Legendโ
Create reference:
๐ณ Docker
๐ฆ Node.js/npm
๐ Python
๐๏ธ Database
๐ Web/HTTP
๐ Security
Next Stepsโ
- ๐ก Examples Library - Ready-to-use snippets
- ๐ Creating Snippets - Build your library
- ๐ค Using Variables - Dynamic templates
- โจ๏ธ Keyboard Shortcuts - Work faster