Scripting extension code editor
  • 04 Jul 2022
  • 1 Minute to read
  • Dark
    Light

Scripting extension code editor

  • Dark
    Light

The scripting extension includes a robust, built-in code editor. You can switch to the edit mode by clicking the "Edit" button in the upper left of the extension. When you are done writing code, you can exit by clicking the "Finish editing" button. In edit mode, the extension will expand to fit the current window (note the image below shows a very small window to best show the switching to edit mode).

edit-mode

The code editor is built on Monaco, an open-source component managed by Microsoft. If you have used Visual Studio Code in the past, some of the functionality of the scripting extension code editor will be very familiar.

  • Intellisense
  • Shortcuts (see below)
  • Syntax highlighting
  • Collapse and expand nested code

Common shortcuts

Ctrl C

Copy code.

Ctrl C

Cut code.

Ctrl C

Paste code.

Ctrl C

Select all code.

Ctrl C

Undo last action.

Ctrl C(Windows)

Shift Cmd F(Mac)

Redo last action.

Ctrl C

Find.

Ctrl C

Format selection.

F1

Open command palette.


Was this article helpful?