Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 873667c

Browse files
committedJul 2, 2018
add cloud shell editor doc
1 parent 9fe06f0 commit 873667c

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed
 
Loading
Loading
Loading
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Using the Azure Cloud Shell editor | Microsoft Docs
3+
description: Overview of how to use the Azure Cloud Shell editor.
4+
services: azure
5+
documentationcenter: ''
6+
author: jluk
7+
manager: timlt
8+
tags: azure-resource-manager
9+
10+
ms.assetid:
11+
ms.service: azure
12+
ms.workload: infrastructure-services
13+
ms.tgt_pltfrm: vm-linux
14+
ms.devlang: na
15+
ms.topic: article
16+
ms.date: 07/01/2018
17+
ms.author: juluk
18+
---
19+
20+
# Using the Azure Cloud Shell editor
21+
22+
Azure Cloud Shell includes an integrated file editor built from the open-source [Monaco Editor](https://github.com/Microsoft/monaco-editor). The Cloud Shell editor supports Monaco features such as language highlighting,
23+
24+
![Cloud Shell editor](media/using-cloud-shell-editor/open-editor.png)
25+
26+
## Opening the editor
27+
28+
For simple file creation and editing, launch the editor by running `code .` in the Cloud Shell terminal. This action opens the editor's file explorer with your active working directory set in the terminal.
29+
30+
To directly open a file for quick editing, run `code <filename>` to open the editor without the file explorer.
31+
32+
To open the editor via UI button, click the `{}` editor icon from the toolbar. This will open the editor and default the file explorer to the `/home/<user>` directory.
33+
34+
## Closing the editor
35+
36+
To close the editor, open the action panel and select `Close editor`.
37+
![Close editor](media/using-cloud-shell-editor/close-editor.png)
38+
39+
## Command palette
40+
41+
To launch the command palette use the `F1` key when focus is set on the editor. Opening the command palette can also be done through the action panel.
42+
![Cmd palette](media/using-cloud-shell-editor/cmd-palette.png)
43+
44+
## Contributing to the Monaco Editor
45+
46+
Language highlight support in the Cloud Shell editor is supported through upstream functionality in the [Monaco Editor](https://github.com/Microsoft/monaco-editor)'s use of Monarch syntax definitions. To learn how to make contributions, read the [Monaco contributor guide](https://github.com/Microsoft/monaco-editor/blob/master/CONTRIBUTING.md).
47+
48+
## Next steps
49+
[Try the quickstart for Bash in Cloud Shell](quickstart.md)
50+
[View the full list of integrated Cloud Shell tools](features.md)

0 commit comments

Comments
 (0)
Please sign in to comment.