Bug 359504

Summary: Show values of constants when hovering them
Product: [Applications] kdevelop Reporter: Alexander Potashev <aspotashev>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: wishlist CC: gufideg
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2016-02-17 15:40:58 UTC
Please display values of constants when hovering them with mouse pointer.

Examples of constants in C++:
  static const size_t size = 16;
  static const std::string blablabla("BlaBlaBla");

When you hover "size" or "blablabla" anywhere in the code where these identifiers reference the above defined constants, a popup widget tells where they are defined but doesn't show their values.

Reproducible: Always
Comment 1 Guillaume Racicot 2017-01-11 19:52:51 UTC
This would be very nice, +1. This feature could be extended to constexpr functions too.