Skip to content

Inline auto-completion not working #18

Open
@Papipo

Description

local record Payload
  amount: number
end

local payload: Payload = {
  -- caret here doesn't autocomplete
}

payload. -- here it does in the moment I type the period

print(payload)

That's basically it. If I want autocompletion for a record, I have to fill it in like so:

record.prop1 = 1
record.prop2 = 2 -- etc

-- I'd rather do it in the table literal if possible

local record: SomeType = {
-- [...]
}

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions