diff --git a/doc/kdevelop/index.docbook b/doc/kdevelop/index.docbook --- a/doc/kdevelop/index.docbook +++ b/doc/kdevelop/index.docbook @@ -384,6 +384,8 @@ Clicking on the links for the declaration of a symbol or expanding the list of uses allows you to jump to these locations, if necessary opening the respective file and placing the cursor at the corresponding location. A similar effect can be achieved by using the Code Browser tool view also discussed previously. +A quicker way to jump to the declaration of a symbol without having to click on the links in the tooltip is to temporary enabling Source Browse Mode by holding down the &Alt; or &Ctrl; key. In this mode, it is possible to directly click on any symbol in the editor to jump to its declaration. + Quick open: A very powerful way of jumping to other files or locations is to use the various quick open methods in &kdevelop;. There are four versions of these: Quick open class (NavigateQuick open class or &Alt;&Ctrl;C): You will get a list of all classes in this session. Start typing (a part of) the name of a class and the list will continue to whittle down to only those that actually match what you've typed so far. If the list is short enough, select an element using the up and down keys and &kdevelop; will get you to the place where the class is declared. diff --git a/plugins/contextbrowser/browsemanager.cpp b/plugins/contextbrowser/browsemanager.cpp --- a/plugins/contextbrowser/browsemanager.cpp +++ b/plugins/contextbrowser/browsemanager.cpp @@ -228,7 +228,7 @@ auto* focusEvent = dynamic_cast(event); //Eventually stop key-browsing - if ((keyEvent && m_browsingByKey && keyEvent->key() == m_browsingByKey && keyEvent->type() == QEvent::KeyRelease) + if((keyEvent && m_browsingByKey && ( keyEvent->key() == m_browsingByKey || keyEvent->modifiers() == Qt::ControlModifier ) && keyEvent->type() == QEvent::KeyRelease) || (focusEvent && focusEvent->lostFocus()) || event->type() == QEvent::WindowDeactivate) { m_browsingByKey = 0; emit stopDelayedBrowsing();