1
1
Fork 0

fix(Programming Basics - Repetition with Loops - Exercise 5): The action/menu titles mentioned were modified

The Extract variable action is named Introduce variable at the moment,
and the application menu path Refactor -> Extract is actually Refactor
-> Extract/Introduce now
Task description was adjusted accordingly

Closes https://youtrack.jetbrains.com/issue/EDC-430
This commit is contained in:
Igor 2021-05-27 15:59:01 +03:00
parent 184b550de0
commit 76f030cd83
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@ IntelliJ IDEA can extract a `val` or `var` automatically. Select the expression
`getFooResult()` inside a string template, then do one of the following:
- Invoke <span class="control">`Find action`</span> (by pressing <span class="shortcut">&shortcut:GotoAction;</span>),
then type `Extract variable` to find the corresponding action
then type `Introduce variable` to find the corresponding action
- Press <span class="shortcut">&shortcut:IntroduceVariable;</span>;
- Choose <span class="control">`Refactor | Extract | Variable...`</span>
- Choose <span class="control">`Refactor | Extract/Introduce | Variable...`</span>
in the application menu.
Type the name of the new variable. IntelliJ IDEA tries to suggest a name