Injector
JetBrainsf4546696-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
Rating distribution
Reviews 6
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...
Finally, v1.0 is finished.
Unfortunately, templates now are hard-coded, but customizing is the next step of development. I just need to implement settings for the plugin.
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).
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...
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”
IdeaVim
JetBrains
Rainbow CSV
6a6e00fe-865f-4d55-8429-be80d1b3e68f
CodeGlance
b10939e8-5c5a-4ccd-88cb-23728cd9c99f
Heap Allocations Viewer
787928c4-c85e-43a4-bbc6-d7d1e1c0c0be
Indent Rainbow
6c3c6731-ab86-4455-a62a-a82a6c3d68e8
Diagrams.net Integration
7e0206d0-b87a-4469-ac38-cafd8aa0fca8