Universal-Variability-Language / uvl-lsp

Language server protocol for the Universal Variability Language (UVL)
MIT License
10 stars 3 forks source link

feat: add "as" completion for imports #95

Closed felixrieg closed 11 months ago

felixrieg commented 11 months ago

Fixes: #92

Adds "as" completion suggestion to imports for aliasing.

SundermannC commented 11 months ago

For me, it does not seem to work. I use autocomplete (ctrl + space) after specifying the imported uvl model as seen below: image Do you have an idea what might be issue? @felixrieg

felixrieg commented 11 months ago

this import with a dot is giving a weird behaviour to the completionEnv. I can add it, but then the "as" keyword could also appear in other circumstances.

SundermannC commented 11 months ago

Works as expected now. Thanks a lot!