Skip to content

[Phase 2] Add Workspace Symbols for Cross-File Navigation #36

Description

@vogella

Description

Implement workspace symbol provider to search for symbols across all AsciiDoc files in the workspace.

Goals

  • Enable cross-file search (Ctrl+Shift+T or similar)
  • Find headers, includes, images, anchors across all .adoc files
  • Relevance-based ranking (exact match > starts with > contains)

Implementation

Add WorkspaceSymbolProvider capability to LSP server and implement symbol extraction across workspace files.

Key Features

  1. Search document titles and sections
  2. Find includes and images by name
  3. Find anchor definitions [[anchor-name]]
  4. Navigate to symbol location in any file
  5. Cache results for performance

Testing

  • Search finds symbols across multiple files
  • Relevance ranking works
  • Navigation jumps to correct file/line
  • Performance acceptable for 100+ files

Dependencies

Priority: Medium

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions