We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A workspace command that extracts a selected expression to a private function:
Example:
defmodule Example do def run() do n = 2 |m = n + 2 # Calculate k = m + n| g = 3 end end
Selecting the specified region between the pipes should result in:
defmodule Example do def run(list) do n = 2 fun(n) g = 3 end defp fun(n) do m = n + 2 # Calculate k = m + n end end
Consider the following scenarios:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A workspace command that extracts a selected expression to a private function:
Example:
Selecting the specified region between the pipes should result in:
Consider the following scenarios:
The text was updated successfully, but these errors were encountered: