This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
current Ctrl+mouse operation go to declaration we (C++) need operation for "alternative" go to declaration, i.e. Alt+mouse Usecase: - Now, when macro is hovered in code (Ctrl+mouse) => it's "#define " text is displayed and hyperlink goes into #define - for alternative hyperlink type (Alt+mouse) => macro expansion is shown in tooltip and hyperlink jumps into "Macro Expansion View" Could be used for Java as well: - tooltip for class could show "extends/implements" info - hyperlink jumps into "Declaration View"
Please, evaluate. We need it for 7.0. I can contribute, if needed. Thanks, Vladimir.
Created attachment 76418 [details] patch for Ctrl+Alt as combination for alternative hyperlink action
I'd like to ask to review small enhancement. It's binary and source compatible change. Still the question VV1: what is best name for new enum constant. I've created patch with GO_TO_ALT_DECLARATION, but now think about ALT_HYPERLINK as name for alternative hyperlink name, because don't want to tie it with "declaration"
The patch looks ok. I'm not sure about the name either, but GO_TO_ALT_DECLARATION sounds really weird. In no better name comes up ALT_HYPERLINK could work. Thanks
if no objections, I will integrate tomorrow with ALT_HYPERLINK
pushed: http://hg.netbeans.org/main/rev/dca9603801ab for Mac shortcut is Meta+Alt, for others Ctrl+Alt
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/dca9603801ab User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#157705: need additional hyperlink type