# Extract/Introduce refactorings

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

Extract/Introduce refactorings

Move expressions and code into variables, constants, types, interfaces, or functions.

- [Extract variable](extract-variable.html): Replace an expression with a variable.
- [Extract constant](extract-constant.html): Move a value into a named constant.

## Also in this section

- [Extract interface](extract-interface.html): Create an interface from the methods of an existing type.
- [Introduce type](introduce-type.html): Create a named type from a type expression.
- [Extract function](extract-method.html): Move a code fragment into a separate function or method.

