6 releases
Uses new Rust 2024
| new 0.0.6 | Mar 4, 2026 |
|---|---|
| 0.0.5 | Mar 3, 2026 |
| 0.0.4 | Feb 14, 2026 |
| 0.0.2 | Jan 30, 2026 |
#433 in Text editors
760 downloads per month
Used in 124 crates
(7 directly)
300KB
4.5K
SLoC
🚀 oak-navigation
Code Navigation Support for Oak Languages — Traits and utilities for implementing "Go to Definition" and "Find All References" features.
🎯 Why oak-navigation?
Code navigation is fundamental to developer productivity. oak-navigation provides the building blocks for implementing navigation features in any Oak-based language tool.
✨ Key Features
- 🎯 Definition Provider —
DefinitionProvidertrait for "Go to Definition" - 🔍 References Provider —
ReferencesProvidertrait for "Find All References" - 📍 Location Type — Unified
Locationfor source positions across files - 🔎 Simple Reference Finder — Built-in name-based reference search
- 🔄 Serde Support — Optional serialization for LSP integration
🏗️ Architecture
Location— Represents a position in source code (URI + byte range)DefinitionProvider<L>— Trait for finding symbol definitionsReferencesProvider<L>— Trait for finding symbol referencesSimpleReferenceFinder— Helper for basic name-based search
🔗 Ecosystem Integration
Used by oak-lsp for LSP navigation features, oak-mcp for AI-assisted navigation, and custom IDE extensions.
📖 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–7.5MB
~63K SLoC