6 releases
Uses new Rust 2024
| new 0.0.6 | Mar 4, 2026 |
|---|---|
| 0.0.5 | Mar 3, 2026 |
| 0.0.4 | Feb 15, 2026 |
| 0.0.2 | Jan 30, 2026 |
#791 in Text editors
752 downloads per month
Used in 123 crates
(122 directly)
295KB
4.5K
SLoC
🚀 oak-hover
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
HoverProvidertrait 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 rangeHoverProvider<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.
Dependencies
~5.5–8MB
~73K SLoC