Skip to content

[FEATURE] Search and filter notes by content, author, date #10

@jnahian

Description

@jnahian

Feature Description

Add search and filtering capabilities to find notes based on their content, author, or creation/modification date.

Problem/Motivation

As the number of notes grows in a project, it becomes difficult to find specific notes. Users need a way to search through note content and filter by metadata like author or date.

Proposed Solution

Implement search and filter functionality that allows users to:

  • Full-text search across all note content
  • Filter by author name
  • Filter by date range (created or modified)
  • Combine multiple filters
  • Show search results with context

This could be integrated into the planned sidebar view or available as a separate command.

Use Cases

  • Find all notes containing specific keywords or phrases
  • Review all notes created by a specific team member
  • Find notes created or modified within a date range
  • Search for notes related to a specific feature or bug
  • Filter notes during code reviews

Examples

Similar to VSCode's built-in search functionality but specifically for notes:

  • Search input with regex support
  • Filter dropdowns for author and date
  • Results list with file location and preview

Additional Context

This is a planned feature from the CHANGELOG.md [Unreleased] section. Would work well in combination with the sidebar view feature.

Implementation Considerations

  • Could use VSCode's QuickPick API for simple search
  • Could integrate with sidebar view for advanced filtering
  • Consider indexing notes for faster search
  • Support regex patterns for advanced users

Willing to Contribute?

  • Yes, I'd like to implement this
  • I can help with testing
  • I'd like to help with documentation
  • No, just suggesting the idea

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions