Mitchell Hanberg
Mitchell Hanberg
A workspace command that converts a capture syntax lambda into an fn syntax version Example: ```elixir defmodule Example do def run(list) do Enum.map(list, & &1 + 1) end end ```...
A workspace command that converts an if expression into a cond expression Example: ```elixir defmodule Example do def run(foo) do if foo do :ok else :error end end end ```...
## Description Sometimes when writing code, you might write down a function call to a function that doesn't exist yet. This will yield a compiler error that says `undefined function...
## Description Basically how I envision this working is if the compiler returns a "Undefined function baz/3" warning, the LSP can provide code actions for "import module `Foo.Bar`" or `replace...
For example, the TypedStruct library only imports the `typedstruct` macro when you do `use TypedStruct`. When the `typedstruct` macro expands, it expands into some code that looks like ```elixir fn...
The following code would produce a range that is not correct and overlap into the function reference range ```elixir defmodule Foo.Bar.Baz.Alice.Bob do def run() do __MODULE__.Carol.process() end end ```
libraries will be able to provide their own nextensions (next-ls extensions 😎), and they should be able to provide their own hover, completions, code actions, commands, etc. the api currently...
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_signatureHelp