Revision 843733

Go back to digest for 10th August 2008

Features in Development Tools

David Nolden committed changes in /trunk/KDE/kdevplatform:

- Add a signal DUChain::declarationSelected, that can be triggered by any party to indicate that the declaration has been selected somewhere in the user-interface.
- Trigger that signal when a completion-item has been selected in the completion-list
- Wait for the signal in the context-browser, highlightight such selected declarations uses in the document, and show information about them in the context-browser.

This is a nice effect for code-completion on local declarations, and makes it possible to conveniently see more information about items in the completion-list without using the small embedded navigation-widget.

File Changes

Modified 7 files
  • /trunk/KDE/kdevplatform
  •   /language/codecompletion/codecompletionitem.cpp
  •   /language/codecompletion/codecompletionitem.h
  •   /language/codecompletion/codecompletionmodel.cpp
  •   /language/duchain/duchain.cpp
  •   /language/duchain/duchain.h
  •   /plugins/contextbrowser/contextbrowser.cpp
  •   /plugins/contextbrowser/contextbrowser.h
7 files changed in total