elixir-editors / elixir-tmbundle

A TextMate and Sublime Text Bundle for the Elixir programming language
https://elixir-lang.org/
Other
263 stars 61 forks source link

How does the replacement for print_eex work? #180

Open xtian opened 5 years ago

xtian commented 5 years ago

I see that the print_eex snippet was removed (https://github.com/elixir-editors/elixir-tmbundle/commit/98a9bb44bb82e208f243d10e3434c296febffe7e), but I don't understand the instructions in that commit. How do I get the <%= … %> snippet?

My only guess was that ^> refers to the key binding Ctrl+>, but I can't get that to do anything in Sublime Text 3.

josevalim commented 5 years ago

ee<TAB> which is what print_eex did still works. AFAIK the ^< is for finding the next tag.

xtian commented 5 years ago

ee<TAB> produces <% … %> for me. I'm trying to get <%= … %>.

josevalim commented 5 years ago

Oh, ignore me. <%= _ %> was precisely Print EEx. Yes, we should probably add it back then.