Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

CDT/Obsolete/C editor enhancements/Enhanced hover

This is a problem page. Please treat it as a discussion page and feel free to insert your comments anywhere. My open questions are in bold--Tomasz Wesołowski 16:49, 8 May 2010 (UTC)

Description

Hovering the mouse cursor around the symbol yields its definition. This is useful, but in many circumstances the information provided is incomplete. For example, for methods, it does not contain the name of the enclosing class, its namespace and access modifier.

The most important information is the (doc) comment that is usually precedes the declaration Sergey Prigogin 07:35, 18 May 2010 (UTC).

+1 Tobias Hahn 09:40, 18 May 2010 (UTC)

Ranking

Category: navigation

Importance:

3/5 --Tomasz Wesołowski 16:49, 8 May 2010 (UTC)

2/5 --Sergey Prigogin 07:35, 18 May 2010 (UTC)

4/5 --Tobias Hahn 09:41, 18 May 2010 (UTC)

2/5 --Jens Elmenthaler

2/5 --Kirstin Weber 08:45, 10 June 2010 (UTC)

Please append your opinion here.

Solution

The hover needs to be modified to show not only the definition of a symbol, but:

  • Place of declaration and definition
  • Namespace
  • If applicable: Access specificator
  • If applicable: Context
  • Extension: Allow editions in the hover [Note 1]

More?

References

Bug 281437 requests this feature.

Bug 297444 states that namespace should be shown in hovers.

Notes

[Note 1] In terms of productivity in even less moderately large projects and development I think it might be useful if the hover that came up for functions actually allow you to edit them on the fly without having to go back to the actual window/tab that the function is actually in as well as allowing you to save the changes within the hover (hit CTRL-S perhaps? maybe a basic toolbar as well?).

Back to the top