natl / language-geant4-macro

Atom syntax highlighting for Geant4 macros
MIT License
5 stars 3 forks source link

Show guidance on hover #6

Closed janpipek closed 7 years ago

janpipek commented 7 years ago

Hi, nice job!

Would it be possible (or is it using some keyboard shortcut?) to display the guidance for an already written command on hover/click/other user action? It would make understanding macro files much easier.

natl commented 7 years ago

Do you mean something like this: https://atom.io/packages/hover-tooltips-hdevtools

It is almost definitely possible. Good idea.

janpipek commented 7 years ago

Yes, this looks nice.

natl commented 7 years ago

What do you think of this as a solution??

tooltip

janpipek commented 7 years ago

That looks absolutely brilliant :-)

natl commented 7 years ago

Feature added with #10 Closing Issue.

janpipek commented 7 years ago

I was about to file a bug report. And then I realized that I still have atom 1.2 (statically installed from .rpm). So instead, I can report that it really works.

natl commented 7 years ago

Awesome, thanks for the confirmation. If you find it doesn't work with early atom versions, let me know and I'll change the compatibility list.

janpipek commented 7 years ago

Eh, in 1.10 it works, in 1.2 it doesn't (I mean, the hovering, tab-completion is ok in both). Quite a broad span ;-)