View source file
A problem I run into frequently is that I'm happily browsing documentation on rdoc.info, and I run into a class which has most of its methods hidden from YARD.
To figure out how this class works, I need to read the source. I look up at the top of the rdoc.info page, I see the source code's filename... and in a spasm of optimism, I try to click it. My clicks are in vain, however, since it's not a link; it's merely the name.
I've clicked that name in vain so many times.
After this, I curse a bit, and proceed to copy/paste the filename in preparation to hunt down the file (which involves inconvenient activities like searching github or rubygems.org, or installing the gem just so I can 'cd' into its directory and view one file).
It would be humayzing if that filename was clickable, and just showed the source code in a new window. (Displaying the code completely unhighlighted is totally acceptable, although line numbers and colour would be nice too.)
Thanks for your time,
Chris
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac