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

namespace.proc autocomplete bug in sublime text #481

Open
thetarnav opened this issue Aug 17, 2024 · 1 comment
Open

namespace.proc autocomplete bug in sublime text #481

thetarnav opened this issue Aug 17, 2024 · 1 comment

Comments

@thetarnav
Copy link
Contributor

import "core:slice"

slice.clon // ...

in vscode accepting clone autocompletion produces slice.clone, but in sublime it produces just clone, replacing the slice. part. It only happens with procedues, not with variables or types.

It happens regardless of enable_procedure_snippet setting. (the parenthesizes are not added in both cases, even in local procedures)

haven't debug it enough to tell if this is a sublime/ols bug tbh
but it happens only in odin

@thetarnav thetarnav changed the title package proc autocomplete bug in sublime text namespace.proc autocomplete bug in sublime text Aug 17, 2024
@DanielGavin
Copy link
Owner

I can repro it. But looking at the completion lsp it doesn't actually tell sublime to replace it. There is no difference between completion that works and doesn't from the lsp log. It most likely has to be sent to sublime LSP.

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

2 participants