# Editor Shortcuts

{% hint style="warning" %}
We cannot guarantee that the all of the shortcuts are working properly since the operations may differ depending on the version of OS and browsers.
{% endhint %}

## Shortcut list for the Monaca Cloud IDE

The Monaca Cloud IDE uses [Monaco Editor](https://microsoft.github.io/monaco-editor/).

| Description                                           | Windows / Linux           | Mac                                |
| ----------------------------------------------------- | ------------------------- | ---------------------------------- |
| Undo                                                  | Ctrl + Z                  | Command + Z                        |
| Redo                                                  | Ctrl + Y                  | Shift + Command + Z or Command + Y |
| Cut                                                   | Ctrl + X                  | Command + X                        |
| Copy                                                  | Ctrl + C                  | Command + C                        |
| Paste                                                 | Ctrl + V                  | Command + V                        |
| Format Document                                       | Shift + Alt + F           | Shift + Alt + F                    |
| Toggle Line Comment                                   | Ctrl + /                  | Command + /                        |
| Search                                                | Ctrl + F                  | Command + F                        |
| Replace                                               | Shift + Ctrl + F          | Command + Alt + F                  |
| Increase indent                                       | Tab or Ctrl + ]           | Tab or Command + ]                 |
| Decrease indent                                       | Shift + Tab or Ctrl + \[  | Shift + Tab or Command + ]         |
| Comment out                                           | Ctrl + /                  | Command + /                        |
| Comment in                                            | Ctrl + /                  | Command + /                        |
| Increase font size                                    | Ctrl + .                  | Command + .                        |
| Decrease font size                                    | Ctrl + ,                  | Command + ,                        |
| Move a line down                                      | Alt + Down                | Option + Down                      |
| Move a line up                                        | Alt + Up                  | Option + Up                        |
| Select all                                            | Ctrl + A                  | Command + A                        |
| Select downward                                       | Shift + Down              | Shift + Down                       |
| Select right                                          | Shift + Right             | Shift + Right                      |
| Select left                                           | Shift + Left              | Shift + Left                       |
| Select upward                                         | Shift + Up                | Shift + Up                         |
| Select to the end                                     | Alt + Shift + Right       | Alt + Shift + Right                |
| Select to the start                                   | Alt + Shift + Left        | Alt + Shift + Left                 |
| Align text right                                      | Ctrl + Shift + Right      | Option + Right                     |
| Align text left                                       | Ctrl + Shift + Left       | Option + Left                      |
| Add multi-cursor above                                | Ctrl + Alt + Up           | Command + Alt + Up                 |
| Add multi-cursor below                                | Ctrl + Alt + Down         | Command + Alt + Down               |
| Add multi-cursor above                                | Ctrl + Alt + Shift + Up   | Command + Alt + Shift + Up         |
| Move multi-cursor from current line to the line below | Ctrl + Alt + Shift + Down | Command + Alt + Shift + Down       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://en.docs.monaca.io/products_guide/monaca_ide/editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
