Skip to content

Commit 1fc8769

Browse files
authored
Merge pull request #427 from arduino/sync/jacobhylen/update-autocomplete-article-ide2
Update autocomplete article ide2
2 parents 10f6ac6 + 4ff8033 commit 1fc8769

8 files changed

+5
-4
lines changed

content/software/ide-v2/tutorials/ide-v2-autocomplete-feature/ide-v2-autocomplete-feature.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,20 @@ Using the autocomplete feature is easy, but let's take a look at how it actually
4444

4545
![An empty Arduino IDE sketch window.](assets/autocompletion-feature-img01.png)
4646

47-
**2.** Now, to enable the autocompletion, we first need to select a board that we are going to use. We don't need to physically connect it to our computer to use the feature, but we need to select the type of board for it to work. This is done by navigating to **Tools > Boards > {Core} > {Board}**.
47+
**2.** Now, to enable the autocompletion, we first need to select a board that we are going to use. This is done by selecting a connected board in the dropdown menu. If you don't have a board connected you can still use this feature, just click "Select other board and port" instead, and follow the instructions in the IDE to select the board you intend to use with your program.
4848

4949
![Choosing a board.](assets/autocompletion-feature-img02.png)
5050

51-
**3.** With the board selected, we are all good to go. In the sketch, inside `void setup()`, start typing pin. You can now see a list of suggestions, where `pinMode(uint8_t pin, uint8_t mode)` comes up as a suggestion. By either clicking on the selection, or hitting **"Enter"**, it will autocomplete it.
51+
**3.** With the board selected, we are all good to go. In the sketch, inside `void setup()`, start typing pin, then trigger the autocomplete feature by pressing **CTRL** + **spacebar** at the same time. You can now see a list of suggestions, where `pinMode(uint8_t pin, uint8_t mode)` comes up as a suggestion. By either clicking on the selection, or hitting **"Enter"**, it will autocomplete it.
5252

5353
![Suggestion for autocompletion (pinMode).](assets/autocompletion-feature-img03.png)
5454

55-
**4.** Now, by clicking enter, it automatically marks the first parameter, which is designed for the `pin` that we want to define. If we now start writing **LED**, a suggestion for `LED_BUILTIN` will appear. If we click enter, it will also autocomplete.
55+
**4.** Now, by clicking enter, it automatically marks the first parameter, which is designed for the `pin` that we want to define. If we now start writing **led** and once more trigger the autocomplete feature by pressing **CTRL** + **spacebar**, a suggestion for `LED_BUILTIN` will appear. If we press **Enter**, it will also autocomplete.
5656

5757
![Suggestion for autocompletion (LED_BUILTIN).](assets/autocompletion-feature-img04.png)
5858

59-
**5.** Now if we mark the following parameter, `uint8_t mode`, delete it, and instead start writing **OUT**, we will see the suggestion for `OUTPUT` appear, which we can also autocomplete.
59+
**5.** Now if we mark the following parameter, `uint8_t mode`, delete it, and instead start writing **out**, we will see the suggestion for `OUTPUT` appear, as the autocomplete feature is triggered once more, which we can also autocomplete.
60+
6061

6162
![Suggestion for autocompletion (OUTPUT).](assets/autocompletion-feature-img05.png)
6263

0 commit comments

Comments
 (0)