diff --git a/Programming Basics/Repetition with while/Exercise 5/task.md b/Programming Basics/Repetition with while/Exercise 5/task.md index 6dc8504a..f64562e3 100644 --- a/Programming Basics/Repetition with while/Exercise 5/task.md +++ b/Programming Basics/Repetition with while/Exercise 5/task.md @@ -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 `Find action` (by pressing &shortcut:GotoAction;), -then type `Extract variable` to find the corresponding action +then type `Introduce variable` to find the corresponding action - Press &shortcut:IntroduceVariable;; -- Choose `Refactor | Extract | Variable...` +- Choose `Refactor | Extract/Introduce | Variable...` in the application menu. Type the name of the new variable. IntelliJ IDEA tries to suggest a name