Skip to main content

Module completion

Module completion 

Source
Expand description

Completing what is being typed, offering only what fits where the cursor is: statements that suit the block, elements in UI, argument labels and values in calls, and types after a :.

ConstantsΒ§

CODE_KEYWORDS πŸ”’
ELEMENT_DETAIL πŸ”’
FUNCTION_DETAIL πŸ”’
TOP_LEVEL_KEYWORDS πŸ”’
UI_KEYWORDS πŸ”’
VALUE_KEYWORDS πŸ”’

FunctionsΒ§

argument_start πŸ”’
Labels for the parameters not given yet, then values for a positional argument.
argument_value πŸ”’
Values for a labelled argument.
argument_values πŸ”’
What fits an argument: anything for a declared callable’s parameter, and for an element parameter only what the element accepts there.
call πŸ”’
A built-in call, with numbered placeholders for its required arguments, then tail.
completions πŸ”’
Completions for the name ending at the cursor, or None where nothing fits.
element πŸ”’
An element, inserted with placeholders for its required arguments and its block.
elements_in πŸ”’
The elements that may be written in place.
function πŸ”’
A built-in function, inserted with placeholders for its required arguments.
item πŸ”’
keywords πŸ”’
labelled_param πŸ”’
The parameter the current label names, when the callee and label are known.
options πŸ”’
The .name values the labelled element argument takes, if it takes a set of them.
signature_of πŸ”’
statement πŸ”’
symbol_item πŸ”’
symbols πŸ”’
types πŸ”’
values πŸ”’
Everything an expression can start with.