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

Offer types (and maybe vars/attributes) for completion #30

Open
FourierTransformer opened this issue Nov 30, 2024 · 0 comments
Open

Offer types (and maybe vars/attributes) for completion #30

FourierTransformer opened this issue Nov 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FourierTransformer
Copy link
Collaborator

Since we are using tree-sitter we know what is being typed when a completion request comes in. There's a note in misc_handlers.tl to not try and provide type resolution, but it might be worth looking into while typing simple_type, var (which i think are local and global), and "attributes" (or what <const> and <total> are referred to as, I can't quite recall)

-- trying to define something new, probably don't want the in-scope thing to popup
-- we could probably help complete simple types
if node_info.parent_type == "var" or
node_info.parent_type == "simple_type" or
node_info.parent_type == "table_type" then

@FourierTransformer FourierTransformer added the enhancement New feature or request label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant