-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add support for Gleam #1334
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.)