Bug 511522 - Open declaration for auto keyword
Summary: Open declaration for auto keyword
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: 9.3.0   Edit
Assignee: Nathan Ridge CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-02 03:58 EST by Doughlas Hudson CLA
Modified: 2017-08-28 10:43 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doughlas Hudson CLA 2017-02-02 03:58:56 EST
I would like to have the use "Open Declaration" (F3) functionality for the auto keyword. So when the cursor is on an auto keyword and I click F3, I would like to jump to the declaration of the deduced type.

This type information is already available. When hovering with the mouse cursor over an auto keyword the deduced type is shown as a tool tip.

This would speed up the navigation.
Comment 1 Nathan Ridge CLA 2017-02-02 20:09:03 EST
This is a great idea!
Comment 2 Eclipse Genie CLA 2017-02-03 01:17:39 EST
New Gerrit change created: https://git.eclipse.org/r/90232
Comment 4 Nathan Ridge CLA 2017-02-09 14:59:44 EST
Fixed for 9.3.
Comment 5 Doughlas Hudson CLA 2017-02-09 15:10:22 EST
Great! Thank you so much! I'm looking forward to the next release. Is there a way to donate some money especially to CDT?
Comment 6 Nathan Ridge CLA 2017-02-11 00:02:55 EST
You're welcome!

(In reply to Doughlas Hudson from comment #5)
> Is there a way to donate some money especially to CDT?

The Eclipse Foundation accepts donations [1], which, as I understand it, go towards funding development efforts listed on this page [2]. However, none of the currently listed ones are specific to CDT (nor am I aware of a way to direct a donation towards a specific project).

One way to "donate" directly to CDT would be to hire a contractor to implement a particular feature or fix a particular issue or set of issues in CDT.

[1] https://www.eclipse.org/donate/
[2] https://projects.eclipse.org/development-efforts?field_work_state_value=bidOpen&sort_by=field_work_projects_nid&sort_order=DESC
Comment 7 Nathan Ridge CLA 2017-03-11 19:22:38 EST
Mentioned in the 9.3 N&N: https://wiki.eclipse.org/CDT/User/NewIn93#C.2B.2B11_.22auto.22_variables.
Comment 8 Yan Pas CLA 2017-08-28 08:29:55 EDT
Should I open a new ticket for "Ctrl+Click" accelerator support for this feature?
Comment 9 Nathan Ridge CLA 2017-08-28 10:43:34 EDT
(In reply to Yan Pas from comment #8)
> Should I open a new ticket for "Ctrl+Click" accelerator support for this
> feature?

Normally I'd say yes, but as it happens, Michael Woski's patch in bug 520913 will make Ctrl+Click work, so there's no need for another bug.