Ctrl+Q (Quick Documentation Lookup)?

I use Ctrl+Q a lot with Java projects in IDEA. It renders the Javadoc nicely.

When I do the same with Ruby comments of a method, Ctrl+Q does not render the comments correctly. In fact Ctrl+Q does not do anything at all.
Am I missing something?

6 comments
Comment actions Permalink

Hello Kedar,

Could you please perform goto declaration having the caret placed in the same place where you invoked Ctrl+Q. What is the resullt?

Regards,
Oleg

0
Comment actions Permalink

Oleg,

It says -- No declaration to go to.  :(

See attached. This happens with all -- my files/classes as well as library classes (e.g. array.rb)

Thanks,
Kedar



Attachment(s):
ctrl-q-problem.zip
0
Comment actions Permalink

Arhhh, now the problem is clear, RubyMine doesn't provide Quick documentation lookup functionality in comments yet.

Regards,
Oleg

0
Comment actions Permalink

Ah. OK. I tried to use it just like Javadoc comments in IDEA.

Is this a feature request then?

(Thank you for explaining how Ctrl+Q works with caret on symbol of interest).

Regards,
Kedar

0
Comment actions Permalink

Yep, feel free to submit feature request!

Regards,
Oleg

0

Please sign in to leave a comment.