Skip to content

Commit 0ce9b1b

Browse files
authored
Fix grammar: correct articles (a->an) and verb tense in docs (#9597)
- Fix 'a entry' to 'an entry' in docs/terminal/basics.md - Fix 'and selecting' to 'and select' in docs/terminal/basics.md - Fix 'a item' to 'an item' in docs/python/tutorial-fastapi.md - Fix 'a if' to 'an if' in docs/java/java-editing.md
1 parent cefc152 commit 0ce9b1b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/java/java-editing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The complete list of shortcuts is listed below:
189189
| for | for (T item : expr) | Creates a for statement |
190190
| fori | for (int i = 0; i < expr.length; i++) | Creates a for statement which iterates over an array |
191191
| forr | for (int i = expr.length-1; i >= 0; i--) | Creates a for statement which iterates over an array in reverse order |
192-
| if | if (expr) | Creates a if statement |
192+
| if | if (expr) | Creates an if statement |
193193
| nnull | if (expr != null) | Creates an if statement and checks if the expression does not resolve to null |
194194
| null | if (expr == null) | Creates an if statement which checks if expression resolves to null |
195195
| sysout | System.out.println(expr) | Sends the affected string to a System.out.println(..) call |

docs/python/tutorial-fastapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Now we need a place to store the grocery list items. For simplicity, let's start
190190
3. Add the following route at the end of the `main.py` file:
191191
192192
```python
193-
# Route to add a item
193+
# Route to add an item
194194
@app.post("/items/{item_name}/{quantity}")
195195
def add_item(item_name: str, quantity: int):
196196
if quantity <= 0:

docs/terminal/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Icons may appear to the right of the terminal title on the tab label when a term
4848

4949
Place multiple terminals side-by-side and create a group by splitting a terminal:
5050

51-
* Hover over a entry in the list of terminals on the right and select the inline split button.
52-
* Right-click the context menu and selecting the **Split** menu option.
51+
* Hover over an entry in the list of terminals on the right and select the inline split button.
52+
* Right-click the context menu and select the **Split** menu option.
5353
* `kbstyle(Alt)` and click on a tab, the **+** button, or the single tab on the terminal panel.
5454
* Trigger the `kb(workbench.action.terminal.split)` command.
5555

0 commit comments

Comments
 (0)