Skip to main content

Module completion

Module completion 

Source

Re-exports§

pub use crate::systems::complete_class;
pub use crate::systems::complete_properties;
pub use crate::systems::keyword_complete;
pub use crate::systems::prefix::rdf_lov_undefined_prefix_completion;
pub use crate::util::token::get_current_cst_token;
pub use crate::util::triple::get_current_triple;

Structs§

CompletionRequest
Component indicating that the current document is handling a Completion request.
CursorContext
What a completion request is about, resolved once from the cursor so every completion source agrees. Inserted by get_cursor_context.
Label
ScheduleLabel related to the Completion schedule
SimpleCompletion

Functions§

generate_completions
get_cursor_context
Resolve the CursorContext of a completion request from the token and triple at the cursor.
setup_schedule
sort_completions
Order completions the way LSP clients do: by sort text, or by label when an item has none. (Comparing Options would put every item without a sort text first.)