Summary
Add tag autocomplete when users create or edit a FrilVault note.
Users should be able to reuse existing project tags without memorizing their exact spelling or accidentally creating near-duplicates.
Example
Suggestions:
performance
permission
persistence
Requirements
- Suggest tags already used in the current workspace.
- Filter suggestions as the user types.
- Support keyboard navigation and selection.
- Allow creation of a new tag when no suggestion is appropriate.
- Prevent duplicate tags within the same note.
- Normalize optional leading
#.
- Preserve tag casing rules consistently.
- Use the same tag normalization logic in the CLI, core, and extension.
CLI Consideration
The CLI does not require interactive completion in the first implementation, but its validation and normalization behavior must match VS Code.
Shell completion can be handled separately later.
Acceptance Criteria
Design Principle
Reusing a tag should be easier than accidentally inventing a duplicate.
Summary
Add tag autocomplete when users create or edit a FrilVault note.
Users should be able to reuse existing project tags without memorizing their exact spelling or accidentally creating near-duplicates.
Example
Suggestions:
Requirements
#.CLI Consideration
The CLI does not require interactive completion in the first implementation, but its validation and normalization behavior must match VS Code.
Shell completion can be handled separately later.
Acceptance Criteria
tagand#tagdo not become separate values.Design Principle