Tags System
What is the Tags System?
Organize your notes with flexible tags using inline #hashtags or YAML frontmatter. Filter, search, and autocomplete your way to better organization.
Quick Start
Add inline tags:
1
This is a note about authentication #backend #security #auth
Add frontmatter tags:
1
2
3
4
5
---
tags: [backend, security, auth]
---
Note content here...
Both methods work - tags are automatically merged!
Adding Tags
Inline Tags
Use #tagname anywhere in your note content:
1
2
3
4
5
6
7
8
9
10
# Meeting Notes
Discussed the new #feature-auth implementation.
## Action Items
- Review #security considerations
- Update #documentation
- Deploy to #production next week
#meeting #team
Tag Format Rules:
- Start with
# - Alphanumeric characters
- Hyphens and underscores allowed
- No spaces
Valid tags: #bug, #feature-auth, #work_notes, #Q4-2024
Invalid tags: #bug fix (space), #@urgent (special char)
YAML Frontmatter Tags
Add tags in frontmatter at the top of your note:
1
2
3
4
5
6
7
---
tags: [backend, auth, security]
---
# Authentication Implementation
Note content here...
Supported Formats:
Unquoted:
1
tags: [backend, auth, security]
Double-quoted:
1
tags: ["backend", "auth", "security"]
Single-quoted:
1
tags: ['backend', 'auth', 'security']
Mixed:
1
tags: [backend, "auth flow", security]
Combined Tags
Use both inline and frontmatter in the same note:
1
2
3
4
5
6
7
8
9
---
tags: [backend, security]
---
# Authentication Feature
Implementing #oauth2 with #jwt tokens.
#work #feature
Result: Tags are automatically merged → backend, security, oauth2, jwt, work, feature
Tags View
The Tags sidebar panel shows all your tags:
1
2
3
4
5
6
7
Tags View
├── backend (15) ⭐
├── security (12)
├── feature (10)
├── bug (8)
├── meeting (6)
└── documentation (3)
Features:
- Tag name and usage count
- Sort by name or frequency
- Click to filter notes
- See all tags at a glance
Tag Autocomplete
Type # anywhere in your note to get intelligent suggestions:
1
2
3
# Daily Notes
Working on #[autocomplete shows: backend, bug, feature, security...]
Autocomplete Features:
- Shows all existing tags
- Fuzzy matching
- Frequency-based ordering (most used first)
- Works anywhere in note content
Enable/Disable:
1
2
3
{
"noted.tagAutoComplete": true // default
}
Filtering by Tags
Single Tag Filter
Click a tag in the Tags View to filter:
1
Click #backend → Shows only notes with #backend tag
The Notes View updates to show only matching notes.
Clear filter:
- Click the “Clear Tag Filters” button
- Click the same tag again to toggle off
Multiple Tag Filter
Use the Filter command for AND filtering:
1
2
3
Command: Noted: Filter by Tag
Select: backend, security, auth
Result: Shows notes with ALL three tags
Active Filters Display:
1
2
My Notes (Filtered: backend, security, auth)
└── [Notes with all three tags]
Filter Indicator
When filters are active:
- 🔍 Clear filters button appears in toolbar
- Notes view title shows active tags
- Context variable
noted.hasActiveTagFiltersis true
Tag Management
Sort Tags
By Name (A-Z):
1
Command: Noted: Sort Tags by Name
1
2
3
4
5
6
Tags View
├── auth (5)
├── backend (15)
├── bug (8)
├── feature (10)
└── security (12)
By Frequency (Most Used First):
1
Command: Noted: Sort Tags by Frequency
1
2
3
4
5
6
Tags View
├── backend (15)
├── security (12)
├── feature (10)
├── bug (8)
└── auth (5)
Rename Tag
Rename tags across all notes:
1
2
Right-click tag → Rename Tag
Enter new name → Updates all occurrences
Before:
1
#old-tag in 10 notes
After:
1
#new-tag in 10 notes
Delete Tag
Remove tags from all notes:
1
2
Right-click tag → Delete Tag
Confirm → Tag removed from all notes
Refresh Tags
Force rebuild of tag index:
1
Command: Noted: Refresh Tags
Use this if:
- Tags seem out of sync
- New tags don’t appear
- Tag counts are incorrect
Tag Search Integration
Tags enhance search capabilities:
Tag Filter in Search
1
2
Command: Noted: Search Notes
Query: tag:backend authentication
Shows notes with #backend tag that contain “authentication”.
Multiple Tag Search
1
Query: tag:backend tag:security password
Shows notes with BOTH tags that contain “password”.
Use Cases
Project Organization
Tag by project:
1
2
3
4
5
6
7
8
9
---
tags: [project-alpha]
---
# Feature Implementation
Working on authentication. #backend #security
#project-alpha
Filter by #project-alpha to see all related notes.
Status Tracking
Tag by status:
1
2
3
4
5
# Bug Fix
Fixed the CORS issue.
#bug #resolved #backend
Tags: #todo, #in-progress, #resolved, #blocked
Topic Categorization
Tag by topic:
1
2
3
4
5
# Learning Notes
Studied OAuth 2.0 flow.
#learning #security #oauth
Topics: #learning, #reference, #tutorial, #howto
Priority Levels
Tag by priority:
1
2
3
4
5
# Critical Bug
Payment processing failing.
#bug #critical #urgent
Priorities: #urgent, #high-priority, #low-priority
Time-Based Tags
Tag by quarter or sprint:
1
2
3
4
5
# Sprint Planning
Goals for next sprint.
#sprint-5 #Q4-2024 #planning
Best Practices
- Be Consistent: Use a standard set of tags
- Use Hierarchical Naming:
#project-alpha,#project-betafor grouping - Combine Methods: Frontmatter for primary tags, inline for contextual
- Review Tag List: Periodically clean up unused or duplicate tags
- Tag at End: Add primary tags at the end of notes for easy scanning
- Use Autocomplete: Avoid creating near-duplicates (
#authvs#authentication)
Tag Naming Conventions
Recommended Patterns
Kebab-case:
1
2
3
#feature-auth
#bug-fix
#team-meeting
Snake_case:
1
2
3
#work_notes
#code_review
#daily_standup
Hierarchical:
1
2
3
4
#project-alpha
#project-beta
#meeting-standup
#meeting-planning
Avoid
Spaces (won’t work):
1
2
#bug fix ❌
#team meeting ❌
Special characters:
1
2
#@urgent ❌
#bug! ❌
Too generic:
1
2
#note (too broad)
#work (too vague)
Tips & Tricks
Tag Templates
Include tags in templates:
1
2
3
4
5
6
7
8
9
---
tags: [meeting, {workspace}]
---
# Meeting - {date}
Template content...
#meeting #team
Tag Statistics
See tag usage at a glance:
1
2
3
backend (15) ← Used in 15 notes
security (12)
feature (10)
Use frequency to identify:
- Most important topics
- Underutilized tags
- Tag redundancy
Multi-Tag Workflows
Create focused views:
1
2
3
4
5
6
7
8
Filter: #project-alpha + #todo
→ All todos for project alpha
Filter: #bug + #critical
→ Critical bugs only
Filter: #meeting + #Q4-2024
→ Q4 meetings
Tag Color Coding
While Noted doesn’t support tag colors directly, you can:
- Use emoji prefixes:
#🔴urgent,#🟢resolved - Use hierarchical naming:
#priority-high,#priority-medium
Batch Tagging
Add tags to multiple notes:
- Use bulk operations to select notes
- Open each note
- Add tags to frontmatter or content
- Tags index updates automatically
Troubleshooting
Tags Not Appearing
Ensure:
- Tag format is correct (
#tagname) - File is saved
- Tag index has refreshed (run
Noted: Refresh Tags)
Autocomplete Not Working
Check settings:
1
2
3
{
"noted.tagAutoComplete": true
}
Restart VS Code if needed.
Duplicate Tags
If you have #auth and #authentication:
- Decide on standard name
- Use “Rename Tag” to consolidate
- Update tag conventions document
Related Features
- Advanced Search - Search by tags and content
- Frontmatter - YAML frontmatter guide
- Organization - Overall organization strategies
- Templates - Include tags in templates
Organize your knowledge with tags! 🏷️