Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline auto-completion not working #18

Open
Papipo opened this issue Sep 2, 2024 · 0 comments
Open

Inline auto-completion not working #18

Papipo opened this issue Sep 2, 2024 · 0 comments

Comments

@Papipo
Copy link

Papipo commented Sep 2, 2024

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 = {
-- [...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant