oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.29k stars 739 forks source link

highlighting and tooltips improvements #1159

Open yantaozhao opened 7 years ago

yantaozhao commented 7 years ago

Code navigation with proper semantic highlighting and tooltips (with a toggle button to enable this feature is necessary) while mouse hover. At least the highlighting feature is very convinent. It is strongly suggested!

Please refer to: https://code.woboq.org/linux/ and its code: https://github.com/woboq/woboq_codebrowser https://code.woboq.org/woboq/codebrowser/

Best Regards!

harryxp commented 7 years ago

The key "2" highlights and unhighlights the symbol last hovered on. "1" turns on/off a window that facilitates searching, etc.

I mean to add a few lines in the help section to explain this...

tarzanek commented 7 years ago

966 and #415 are probably close to this

and I'd love to have more semantics/usage graphs in OpenGrok! Someone out there who dares to write it? (and has the spare time?) I am wiling to help with pointers/tutoring.

harryxp commented 7 years ago

Just submitted a pull request #1169 adding some documentation of these two features.

I have a working AJAX version similar to what woboq does. I can tweak it to see if it's helpful.

The thing is woboq only works for C/C++. That means it can make a lot more assumptions than OpenGrok does...