From 76f030cd836cfbd9c24b33f61213e9b371957a10 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 27 May 2021 15:59:01 +0300 Subject: [PATCH] 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 --- Programming Basics/Repetition with while/Exercise 5/task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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