Commit 4faae0f9 authored by Tomas Vik's avatar Tomas Vik Committed by Denys Mishunov

Add documentation for the Web IDE command palette

parent 302eef2b
...@@ -29,6 +29,11 @@ When you are satisfied with your new file, click **Commit Changes** at the botto ...@@ -29,6 +29,11 @@ When you are satisfied with your new file, click **Commit Changes** at the botto
![Create file editor](img/web_editor_new_file_editor.png) ![Create file editor](img/web_editor_new_file_editor.png)
### Shortcuts
You can use handy shortcuts when editing a file through the Web Editor, which are the same as
the WEB IDE's. For details, see the documentation for [Command Palette](../web_ide/index.md#command-palette).
### Template dropdowns ### Template dropdowns
When starting a new project, there are some common files that the new project When starting a new project, there are some common files that the new project
......
...@@ -25,9 +25,25 @@ and from merge requests. ...@@ -25,9 +25,25 @@ and from merge requests.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18323) in [GitLab Core](https://about.gitlab.com/pricing/) 10.8. > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18323) in [GitLab Core](https://about.gitlab.com/pricing/) 10.8.
The file finder allows you to quickly open files in the current branch by The file finder allows you to quickly open files in the current branch by
searching. The file finder is launched using the keyboard shortcut `Command-p`, searching for fragments of the file path. The file finder is launched using the keyboard shortcut
`Control-p`, or `t` (when editor is not in focus). Type the filename or <kbd>Cmd</kbd>+<kbd>p</kbd>, <kbd>Ctrl</kbd>+<kbd>p</kbd>, or <kbd>t</kbd>
file path fragments to start seeing results. (when editor is not in focus). Type the filename or file path fragments to
start seeing results.
## Command palette
You can see all available commands for manipulating editor content by pressing
the <kbd>F1</kbd> key when the editor is in focus. After that,
you'll see a complete list of available commands for
manipulating editor content. The editor supports commands for multi-cursor
editing, code block folding, commenting, searching and replacing, navigating
editor warnings and suggestions, and more.
Some commands have a keyboard shortcut assigned to them. The command palette
displays this shortcut next to each command. You can use this shortcut to invoke
the command without having to select it in the command palette.
![Command palette](img/command_palette_v13_6.png)
## Syntax highlighting ## Syntax highlighting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment