I

Injector

JetBrains

f4546696-0b2b-441b-9182-c41db36f44d0 · v—

Provides fast Ruby code injections into erb files and ruby strings. Injector makes replacements as fast as you type shortcut text and also provides additional features. Examples: '%%' --> <% | %> '%=' --> <%= | %> '%-' --> <%- | -%> '##' --> <%# | %> Templates can be added and/or changed in Settings > Tools > Injector. See details in General Usage section. Feel free to report bugs and your su

Editor
Downloads
6K
5 945
Rating
4.1 ★
4 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 4 ratings
5★ 50.0%
4★ 25.0%
1★ 25.0%

Reviews 6

★★★★★ Dmitriy Likhten 2011-10-11

This plugin kind of sucks. I replaced all it’s uses with live templates, and then some. It has MANY drawbacks, allow me to elaborate: 1) Typing simple things like = and - automatically turns into tags. Which is really bad when trying to type the following: <input type="button" class="foo-bar"> as it keeps escaping. I hit this situation more times than I actually used the feature. Sure you...

★★★★★ Basil 2011-12-10

Finally, v1.0 is finished.

★★★★★ Basil 2011-10-18

Unfortunately, templates now are hard-coded, but customizing is the next step of development. I just need to implement settings for the plugin.

★★★★★ Dmitriy Likhten 2011-10-17

Definitely better. Can the templates be customized, since I definitely like using the - symbols after the % (ensures that the injection line does not create a blank line in the output, good for saving some bandwidth and cleaner output).

★★★★★ Basil 2011-10-16

Dear Dmitry, thank you very much for your feedback. Actually I wrote the plugin to learn how to make plugins for IntelliJ platform and to speed up template editing with my style of coding. It was good for me because I mostly insert ruby code into ready html templates, so many bugs were unseen for me. Now having some feedback I reworked Injector to make it much more comfortable in use. From...

★★★★★ Dmitriy Likhten 2011-10-11

Here are some live templates I use daily instead of this plugin... Maybe someone can instruct me how to release those maybe in some importable format on github. ERB files only, | = cursor or $END$ varaible. %- -> <%- | %> %-- -> <%- | -%> %= -> <%= | %> end -> <%- end -%> %=t -> <%= t("|") %>

Similar in “Editor”