Additional context
Gleam is an increasingly popular language and is known for putting a lot of effort into a really good LSP (which already has a lot of very useful code actions).
(As an interesting example, given a Gleam type, the LSP can actually generate code for a json encoder and decoder for that type. As a test, I asked a cheap LLM to generate encoders/decoders for my types and it got completely stuck, even with good documentation available. It did much better when it already had the encoder/decoder structure that I got from the LSP and only needed to make some adjustments according to the JSON schema.
Personally I only use coding agents in a very constrained way; when I know they can converge towards the solution I actually want. Giving them access to these kinds of code actions would really help with that.)
Additional context
Gleam is an increasingly popular language and is known for putting a lot of effort into a really good LSP (which already has a lot of very useful code actions).
(As an interesting example, given a Gleam type, the LSP can actually generate code for a json encoder and decoder for that type. As a test, I asked a cheap LLM to generate encoders/decoders for my types and it got completely stuck, even with good documentation available. It did much better when it already had the encoder/decoder structure that I got from the LSP and only needed to make some adjustments according to the JSON schema.
Personally I only use coding agents in a very constrained way; when I know they can converge towards the solution I actually want. Giving them access to these kinds of code actions would really help with that.)