terraform-doc icon indicating copy to clipboard operation
terraform-doc copied to clipboard

Similar feature was recently added to terraform-mode

Open Fuco1 opened this issue 2 years ago • 2 comments

Hi @TxGVNN

We've recently added similar functionality to terraform-mode https://github.com/emacsorphanage/terraform-mode/pull/19

Do you think there is some noticable difference between the two features? Would it make sense to enhance the built-in feature to achieve feature parity with your package? I see you have some functionality related to shr, showing the docs directly in Emacs. Does this work well?

M.

Fuco1 avatar Mar 03 '23 12:03 Fuco1

Would it make sense to enhance the built-in feature to achieve feature parity with your package?

Yes, I think terraform-mode should provide a doc function by default. Even integrate this package into terraform-mode.

I see you have some functionality related to shr, showing the docs directly in Emacs. Does this work well?

I've just tested on my machine. You can do it by yourself. Shr is used to render links. When click a link, they are md file so use markdown-mode to display.

terraform-doc

TxGVNN avatar Mar 04 '23 14:03 TxGVNN

Personally I find it much nicer to display the docs inline in Emacs like terraform-doc does it rather than pop up a web page in my browser (which seems to regularly be on a different desktop).

jplindstrom avatar May 20 '23 17:05 jplindstrom