Skip to main content

rename

Function rename 

Source
pub fn rename(
    query: Query<'_, '_, (&Element, &RopeC, &Label, &PositionComponent, &DynLang, &mut RenameEdits)>,
)
Expand description

Model-based rename: replace every occurrence of the term under the cursor (matched by canonical key) with the wrapped new text.