lexical-lsp / lexical

Lexical is a next-generation elixir language server
781 stars 77 forks source link

No completions offered on typing `do`for functions and for loops #660

Closed Terbium-135 closed 3 months ago

Terbium-135 commented 3 months ago

For me function heads and for loops are lacking then completion do/end block.

2024-03-25 20_14_01-● layout_builder ex - ganymed  SSH_ Raspberry4  - Visual Studio Code - Insiders

2024-03-25 20_13_48-● layout_builder ex - ganymed  SSH_ Raspberry4  - Visual Studio Code - Insiders

2024-03-25 20_13_12-● layout_builder ex - ganymed  SSH_ Raspberry4  - Visual Studio Code - Insiders

scohen commented 3 months ago

I definitely get completions in emacs for do/end for def/defp/defmodule. I think this is because vscode isn't re-requesting completions after the ones for def. This is a longstanding bug in vscode, and is detailed here:

400

Terbium-135 commented 3 months ago

I see. Thank you for pointing me at this. Closing this issue