View your notes without being limited by your file system's hierarchy. Transform Cursor/VS Code into a note-taking app by adding tag support.
Attribution: This extension is based on vscode-nested-tags by Blake Dietz, rewritten for compatibility with Cursor and modern VS Code versions.
The extension scans markdown files in your workspace for tags and displays them in a hierarchical "Tag Tree" view in the Explorer sidebar.
HTML Comment Directive:
<!--@nested-tags:topic,here/is/a/nested/example-->YAML Frontmatter (array style):
---
title: My Note
tags: [topic, here/is/a/nested/example]
---YAML Frontmatter (list style):
---
title: My Note
tags:
- topic
- here/is/a/nested/example
---Use / to create nested tag hierarchies:
project/frontendcreates a "project" parent with "frontend" childwork/meetings/2024creates three levels of nesting
- Add tags to your markdown files using any of the supported formats
- Open the "Tag Tree" view in the Explorer sidebar
- Click on any file to open it
- Use the refresh button to manually rescan files
- Download the
.vsixfile from releases - In Cursor/VS Code:
Cmd+Shift+P→ "Install from VSIX" - Select the downloaded file
npm install
npm run compilePress F5 to launch the extension in a new Extension Development Host window.
npx @vscode/vsce package- Original extension: vscode-nested-tags by Blake Dietz
- Licensed under MIT
MIT License - See LICENSE for details.