diff --git a/Introduction to Objects/Constraining Visibility/Exercise 5/task.md b/Introduction to Objects/Constraining Visibility/Exercise 5/task.md index d7dac8d7..000daf55 100644 --- a/Introduction to Objects/Constraining Visibility/Exercise 5/task.md +++ b/Introduction to Objects/Constraining Visibility/Exercise 5/task.md @@ -1,6 +1,6 @@ ## Mastering the IDE: Extract Function -IntelliJ Idea allows you to extract repetitive code into a function. Select the +IntelliJ IDEA allows you to extract repetitive code into a function. Select the following code in the body of the first function: ``` diff --git a/Introduction to Objects/Constructors/Exercise 4/task.md b/Introduction to Objects/Constructors/Exercise 4/task.md index fe239759..48ac203d 100644 --- a/Introduction to Objects/Constructors/Exercise 4/task.md +++ b/Introduction to Objects/Constructors/Exercise 4/task.md @@ -1,6 +1,6 @@ ## Mastering the IDE: Generating `toString` -IntelliJ Idea can automatically generate the `toString()` member function. +IntelliJ IDEA can automatically generate the `toString()` member function. Call the `Generate` action, or use the shortcut &shortcut:NewElement;, or click on the main diff --git a/Introduction to Objects/Creating Classes/Exercise 4/task.md b/Introduction to Objects/Creating Classes/Exercise 4/task.md index 5b6e082d..5c3bf101 100644 --- a/Introduction to Objects/Creating Classes/Exercise 4/task.md +++ b/Introduction to Objects/Creating Classes/Exercise 4/task.md @@ -4,7 +4,7 @@ We've already used `Quick Documentation` action to check the variable type. `Quick Documentation` also produces information about any symbol, including a function or a class. Press &shortcut:QuickJavaDoc; when the caret is -on a class or a function usage, and IntelliJ Idea will show you the available +on a class or a function usage, and IntelliJ IDEA will show you the available documentation for this function or class. Put the caret on the `String` type and its `get()` and `length()` member diff --git a/Introduction to Objects/Packages/Exercise 4/task.md b/Introduction to Objects/Packages/Exercise 4/task.md index 826609bd..1b8d0547 100644 --- a/Introduction to Objects/Packages/Exercise 4/task.md +++ b/Introduction to Objects/Packages/Exercise 4/task.md @@ -1,9 +1,9 @@ ## Mastering the IDE: Auto-import -IntelliJ Idea can import declarations for you automatically if you choose the +IntelliJ IDEA can import declarations for you automatically if you choose the required declaration in the completion list. Complete the class name `IsoscelesRightTriangle` defined in `Triangle.kt`. To complete a name, either start typing it or call the completion explicitly by using &shortcut:CodeCompletion; shortcut. Notice -how IntelliJ Idea adds an `import` statement. +how IntelliJ IDEA adds an `import` statement. diff --git a/Introduction to Objects/Properties/Exercise 4/task.md b/Introduction to Objects/Properties/Exercise 4/task.md index 869d1b83..c56dd8cf 100644 --- a/Introduction to Objects/Properties/Exercise 4/task.md +++ b/Introduction to Objects/Properties/Exercise 4/task.md @@ -8,7 +8,7 @@ change it in one place and forget to change elsewhere, which can lead to difficult-to-find bugs. When a constant appears in multiple places in your code, it's wise to extract -it into a property. IntelliJ Idea allows you to do this automatically. Select +it into a property. IntelliJ IDEA allows you to do this automatically. Select the constant `10` in the code sample, and call `Extract Property` action. You can also use the &shortcut:IntroduceField; shortcut or choose `Live templates`. Type `iter` and then press &shortcut:ExpandLiveTemplateByTab;. This live template expands into a `for` expression. You type the expression you want to iterate -over, along with the name for the index variable. IntelliJ Idea automatically +over, along with the name for the index variable. IntelliJ IDEA automatically suggests the variable name to iterate over if it's available in the context. ```