[Differential] [Request, 282 lines] D3291: Fix problems tooltip

antonanikin (Anton Anikin) noreply at phabricator.kde.org
Mon Nov 7 11:24:09 UTC 2016


antonanikin created this revision.
antonanikin added reviewers: KDevelop, kfunk.
antonanikin added a subscriber: kdevelop-devel.

REVISION SUMMARY
  This patch fixes problems tooltips. Current version shows tooltips only for problems from built-in parser. New version provides:
  
  1. Tooltips for all problems (IProblem interface) stored in any Problem Model.
  
  2. "Multi-error" tooltips. One line can contains several problems, new version shows them all in one tooltip.
  
  3. "Multi-error" tooltips are sorted by problem severity.

TEST PLAN
  Tested on master branch with kdev-cppcheck, kdev-valgrind, kdev-verapp plugins. All tested cases work correcttly:
  
  1. "Single-error" tooltips (old behavior). Works with built-in parser and external plugins.
  2. "Multi-error" tooltips without assistants.
  3. "Multi-error" tooltips with assistants.

REPOSITORY
  rKDEVPLATFORM KDevPlatform

BRANCH
  problems_tooltip

REVISION DETAIL
  https://phabricator.kde.org/D3291

AFFECTED FILES
  language/duchain/navigation/abstractnavigationwidget.cpp
  language/duchain/navigation/problemnavigationcontext.cpp
  language/duchain/navigation/problemnavigationcontext.h
  plugins/contextbrowser/CMakeLists.txt
  plugins/contextbrowser/contextbrowser.cpp
  plugins/contextbrowser/contextbrowser.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: antonanikin, #kdevelop, kfunk
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161107/1fb19542/attachment.html>


More information about the KDevelop-devel mailing list