gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Language server completion within consts

Open Blankeos opened this issue 5 months ago • 1 comments

Not sure if it's a bug, but this could be a feature request as well.

My experience with Record Types and Generic Custom Types have been pretty clunky.

Here's a specific instance where when I press "Ctrl + Space", intellisense doesn't work (for Record Types), when I expect it to.

It should ideally show me what the type or the name of the parameter my cursor is currently on.

https://github.com/user-attachments/assets/dfc5b76c-28c7-48c7-b8c6-f7a2231268ff


Idk if it's the LSP getting confused between Generics and Instantiating a Record Type because it uses almost the same same syntax e.g. MyType(generic) (with generics) and e.g. MyType("propertyvalue") (Instantiating record types).

Blankeos avatar Sep 19 '24 15:09 Blankeos