Skip to content
New issue

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

Elixir: Auto-expand do-blocks #3899

Closed
leonqadirie opened this issue Sep 19, 2022 · 3 comments
Closed

Elixir: Auto-expand do-blocks #3899

leonqadirie opened this issue Sep 19, 2022 · 3 comments
Labels
C-enhancement Category: Improvements

Comments

@leonqadirie
Copy link
Contributor

In Elixir I'd love to have Helix expand def foo(bar) do + [Enter] to

def foo(bar) do
  [Cursor]
end

Currently it only inserts a newline. Any pointers on how to contribute this?

@leonqadirie leonqadirie added the C-enhancement Category: Improvements label Sep 19, 2022
@archseer
Copy link
Member

I think lsp snippets would support this expansion.

@leonqadirie
Copy link
Contributor Author

Ok, thanks a lot, will investigate!

@dead10ck
Copy link
Member

dead10ck commented Sep 19, 2022

Closing in favor of #395

@dead10ck dead10ck closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants