Edit

Share via


How to use the Azure Cloud Shell editor (Classic)

Azure Cloud Shell includes an integrated file editor built from the open-source Monaco Editor. The Cloud Shell editor supports features such as language highlighting, the command palette, and a file explorer.

Cloud Shell editor

Opening the editor

For simple file creation and editing, launch the editor by running code . in the Cloud Shell terminal. This action opens the editor with your active working directory set in the terminal.

Use the following command to directly open a file for quick editing:

code <filename>

To open the editor, select the {} icon from the toolbar. The file explorer defaults to the /home/<user> directory.

Closing the editor

To close the editor, open the ... action panel in the top right of the editor and select Close editor.

Close editor

Command palette

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.

Cmd palette

Next steps