Running snippets on same line as other code


#1

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 “some_list.mp” 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?


#2

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.


#3

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