Skip to content

Providing autocompletion suggestions

Lauri-Matti Parppei edited this page Aug 1, 2022 · 1 revision

Beat has character cue and scene heading autocompletion. If you'd like to provide your own suggestions for these lists, you can tap into the methods that gather autocompletion data from the document.

Beat.onCharacterAutocompletion(function () {
   return ["NAME", "ANOTHER NAME"]
})

Beat.onSceneHeadingAutocompletion(function () {
   return ["INT. EXAMPLE", "EXT. ANOTHER EXAMPLE"]
})

For now, you cannot override the existing autocompletion, only provide additional suggestions.

Clone this wiki locally