Skip to main content

Module extract_function

Module extract_function 

Source
Expand description

Handler for the extract_function command: extract a range of code into a new function with auto-detected parameters and return value.

Follows the edit_symbol.rs pattern: validate → parse → compute → dry_run check → auto_backup → write_format_validate → respond.

Functions§

handle_extract_function
Handle an extract_function request.