-
Notifications
You must be signed in to change notification settings - Fork 77
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
Autocompletion for imported variables #485
Comments
Will be fixed by typst#3842 Fix source path resolution in import analysis |
This is not fixed, it still happens on the latest version v0.13.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am using
typst-lsp 0.13.0
and noticed that imported variables are not autocompleted.Example:
variable.typ
Example:
document.typ
Expected behavior:
when typing the variable name in the
document.typ
it should be suggested, just like functions. This also applies when do specific imports:Current Behavior:
Suggestions currently only seems to be based on already typed words in current lsp context / document. So variables are only suggested when the names has already been typend once in the current
typst
file.The text was updated successfully, but these errors were encountered: