ide_completion

Function resolve_completion_edits

source
pub fn resolve_completion_edits(
    db: &RootDatabase,
    config: &CompletionConfig,
    _: FilePosition,
    imports: impl IntoIterator<Item = (String, String)>,
) -> Option<Vec<TextEdit>>
Expand description

Resolves additional completion data at the position given. This is used for import insertion done via completions like flyimport and custom user snippets.