Skip to main content

get_cursor_context

Function get_cursor_context 

Source
pub fn get_cursor_context(
    query: Query<'_, '_, (Entity, &PositionComponent, Option<&TokenComponent>, Option<&TripleComponent>, &RopeC)>,
    commands: Commands<'_, '_>,
)
Expand description

Resolve the CursorContext of a completion request from the token and triple at the cursor.