TemplateInsertAction

class TemplateInsertAction(template: Template, array: Boolean = false, repeat: Boolean = false) : InsertAction(source)

Inserts random strings in the editor using the given template.

Parameters

template

the template to use for inserting data

array

true if and only if an array of values should be inserted

repeat

true if and only if the same value should be inserted at each caret

See also

Constructors

Link copied to clipboard
constructor(template: Template, array: Boolean = false, repeat: Boolean = false)

Types

Link copied to clipboard
inner class ArrayDecoratorConfigurable(arrayDecorator: ArrayDecorator) : Configurable, Disposable

Edits the ArrayDecorator of a template and shows a preview.

Functions

Link copied to clipboard
open override fun generateStrings(count: Int): List<String>

Generates count strings.