Skip to end of metadata
Go to start of metadata

Overview

In this recipe, we show how a Ruble command can open a popup window for user input.

Opening a popup window to select from a list of elements

Here, we select from a list of projects and use the output of choice to insert different snippets to the editor.

The popup will look like the following:

Opening a popup window for user input

Here, we open a pop window to prompt for user input, store the output into a local variable "name" and output it as a snippet.

The popup will look like the following: