Skip to main content

marco_core/intelligence/editor/
mod.rs

1//! Editor-facing intelligence features.
2
3/// Markdown completion providers and completion item types.
4#[cfg(feature = "intelligence-completions")]
5pub mod completion;
6/// Syntax highlight extraction from parsed Markdown AST.
7#[cfg(feature = "intelligence-highlights")]
8pub mod highlight;
9/// Hover information lookup utilities.
10#[cfg(feature = "intelligence-hover")]
11pub mod hover;
12
13/// Re-export completion API.
14#[cfg(feature = "intelligence-completions")]
15pub use completion::{get_markdown_completions, CompletionItem};
16/// Re-export highlight API.
17#[cfg(feature = "intelligence-highlights")]
18pub use highlight::{compute_highlights, compute_highlights_with_source, Highlight, HighlightTag};
19/// Re-export hover API.
20#[cfg(feature = "intelligence-hover")]
21pub use hover::{get_hover_info, get_position_span, HoverInfo};