oak-hover 0.0.5

Hover information and documentation lookup support for the Oak framework.
docs.rs failed to build oak-hover-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: oak-hover-0.0.6

🚀 oak-hover

Crates.io Documentation

Hover Information Provider for the Oak Ecosystem — A lightweight, trait-based library for providing hover information in editors and IDEs.

🎯 Why oak-hover?

Hover information is essential for modern developer experience — it provides instant feedback about symbols, types, and documentation without leaving the editor. oak-hover provides a simple, unified interface for implementing hover support in any Oak-based language parser.

✨ Key Features

  • 🎯 Trait-Based Design — Clean HoverProvider trait for language-specific hover logic
  • 📝 Markdown Support — Rich formatting for documentation and type information
  • 📍 Range-Aware — Optional range information for precise hover targeting
  • 🔄 Serde Integration — Easy serialization for LSP implementations
  • 🧩 Zero Dependencies — Minimal footprint with optional serde support

🏗️ Architecture

The crate provides two main types:

  • Hover — Represents hover content with optional range
  • HoverProvider<L> — Trait for implementing language-specific hover

🔗 Ecosystem Integration

Works seamlessly with oak-lsp for full Language Server Protocol support and any editor that displays hover information.

📖 Documentation

For usage examples and API details, see the API documentation.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.