Replies: 0 comments 4 replies
-
So, if I understand correctly, you're looking for a way to automatically add the "end" keyword when defining a method in Ruby and Elixir, right? Well, the good news is that both languages have tools to make your life easier! In Ruby, there are several text editors and IDEs that support automatic insertion of the "end" keyword. For example, in Sub As for Elixir, the language itself has a feature called "code snippets" that allows you to define custom snippets that can be automatically inserted into your code. There's even a library called "Alchemist" that provides a collection of code snippets for Elixir and its associated tools. You can use Alchemist to define your own snippets for adding "end" keywords and other frequently used code patterns. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I searched for this and failed to find a related discussion.
Is there a way to enable auto completing
end
in ruby (and elixir) and such similar helpers?Eg: When we type
def
and add the method name and press enter theend
to be automatically added.Beta Was this translation helpful? Give feedback.
All reactions