Is there a way to "introduce a variable"

I often use this feature on VS: selecting a string or value, right click and "introduce as a variable" (don't remember the exact name).

Is there any LINQPad equivalent ?

Extra question: can I select the language of the refactoring items (see screenshot, the right click menu items are in English but the refactoring items are in french)

Regards

Best Answer

  • JoeAlbahari
    Answer ✓

    Good idea - this is now supported in 9.10.4 with the following new refactorings:

    • Extract Method
    • Introduce Local Variable
    • Change Signature
    • Generate Overrides
    • Extract Interface

Answers