Insert Action
abstract class InsertAction(val repeat: Boolean = false, val text: String, description: String? = null, val icon: () -> Icon?? = null) : AnAction(source)
Inserts strings in the editor.
If configurable is not null
when actionPerformed is invoked, a modal editor is shown to edit that configurable right before inserting the strings to allow for last-minute adjustments to how the strings are generated.
Parameters
description
the optional description of the action
icon
the icon that represents the action, or null
if there should be no icon