Running snippets on same line as other code


Lets say I am in ruby and I type “mp” and then hit the tab key. I get “map(&:id)” which is really handy since it saves me from typing map(&:id). A more useful version of this would be to type “” and then hit the tab key. The problem is that “some_list.” is not in the snippet to make map(&:id). Is there a way to get it to recognize “mp” when I press tab regardless of what is before it?


It looks like this is related to this issue on the snippets package. If you want to reopen that issue with your use case we can take a look at it.


I replied, but I am not sure how to reopen it.