listCompletion

Queries for code completion at position pos in code

@component("dcd")
@arguments("subcmd", "list-completion")
void
listCompletion
(,
string code
,
int pos
)

Return Value

Type: void

{type:string} where type is either identifiers, calltips or raw. When identifiers: {type:"identifiers", identifiers:[{identifier:string, type:string}]} When calltips: {type:"calltips", calltips:[string]} When raw: {type:"raw", raw:[string]} Raw is anything else than identifiers and calltips which might not be implemented by this point.

Call With

{"subcmd": "list-completion"}

Meta