Last updated
Last updated
This endpoint is aim to provide a list of completion entries for given a piece of code, position and context (class).
URL: /autocompletions
Method: POST
Payload: The payload should specify this information like this:
where class
property is optional.
Code : 200 OK
Content: A list of completion entries, where each entry should have the following structure:
where type
is either class
, method
, variable
or keyword
(used for pseudo variables, true
, false
and nil
). The IDE will use this information to style the list shown to the user.
URL: /autocompletions
Method: POST
Code : 200 OK
Example:: completion entries for the following code, position and class.