Extract Variable
Extract code to a variable
Highlight the code you want to extract to a variable and press ⌥⌘V (macOS), or Ctrl+Alt+V (Windows/Linux), to extract it.
Extracting parameters can be useful in improving the readability of your code.
Extract code to a variable
Highlight the code you want to extract to a variable and press ⌥⌘V (macOS), or Ctrl+Alt+V (Windows/Linux), to extract it.
Extracting parameters can be useful in improving the readability of your code.