Code actions for simplifying common patterns #5909
nabeelvalley
started this conversation in
Ideas & suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This feels like something that might not have a specific end point, but I think it would be really handy for the LSP to spot common patterns that can be simplified, for example converting
list.map(thing) |> list.flattentolist.flat_map(thing)I'm sure there are other possibilities but in general this is the idea
I think it's nice from a productivity standpoint but also helps new developers discover functionality in the standard library
Beta Was this translation helpful? Give feedback.
All reactions