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

Provide autocompleiton for builtin symbols #6

Closed
x1unix opened this issue Aug 6, 2024 · 2 comments · Fixed by #7
Closed

Provide autocompleiton for builtin symbols #6

x1unix opened this issue Aug 6, 2024 · 2 comments · Fixed by #7

Comments

@x1unix
Copy link
Contributor

x1unix commented Aug 6, 2024

At the moment, textDocument/completion doesn't provide symbols for built-in intrinsic functions like len, cap, etc.

@x1unix
Copy link
Contributor Author

x1unix commented Aug 6, 2024

@zivkovicmilos @jeronimoalbi

Do you know if there a place where builtin function signatures are defined?
Or we need to hardcode them manually in gnopls?

@x1unix
Copy link
Contributor Author

x1unix commented Aug 6, 2024

I found this set of intrinsic funcs which seems to be identical to what Go has.

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

Successfully merging a pull request may close this issue.

1 participant