Extract Field

Extract code to a field

Highlight the code you want to extract to a field and press ⌥⌘F (macOS), or Ctrl+Alt+F (Windows/Linux), to extract it.

Extracting fields can be useful in improving the readability of your code.