tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 102 forks source link

Phoenix generation helpers #243

Closed vasspilka closed 1 year ago

vasspilka commented 8 years ago

A feature for 2.0 I'd like to see is a generator helpers for phoenix.gen.xx. I would image it being a bit like Magit commit, where a window would be oppened with the output of mix help phoenix.gen.xx and optional.. options. After filling that you would actually write the generator attributes. (probably in a new window/buffer)

Reson is I frequently do mix help phoenix.gen.xx anyway before actually generating something, and I hate writing the actuall attributes in a terminal, even inside Emacs (usually when opening terminal it won't open in projet root and I have to use cd first).

I am new to emacs, actually spacemacs, but I am slowly learning elisp and would be willing to help with this one.

Is this something others would like to see? Also the terminal experience makes you kind of take rushy decisions while in a proper text editing environment you would be urged to think more about more which is always nice when you actully generate a lot of code.

::EDIT:: Actually this might be out of scope for alchemist.el, maybe more proper for a Phoenix layer??