1
1
Fork 0

Merge pull request #14 from Geravant/igor/programming-basics-repetition-with-while-exercise5-EDC-430

fix(Programming Basics - Repetition with Loops - Exercise 5): The act…
This commit is contained in:
Svetlana Isakova 2021-07-19 15:48:19 +02:00 committed by GitHub
commit cbc7b0d0b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: `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>), - 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>; - 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. in the application menu.
Type the name of the new variable. IntelliJ IDEA tries to suggest a name Type the name of the new variable. IntelliJ IDEA tries to suggest a name