• Nikolai Kosjar's avatar
    CppTools: Make FollowSymbol respect projects · 6b6ad446
    Nikolai Kosjar authored
    Finding the class definition for a forward declaration or finding the
    function definition from its declaration is mostly determined by the
    file iteration order. Documents with the most common path prefix are
    checked first.
    
    This works fine as long as the files of your project have a common
    ancestor. If that's not the case, FollowSymbol might take you to the
    definition within another project.
    
    Fix that issue by considering the project part id when constructing the
    file iteration order. Since the cached file iteration order now depends
    on the projects, ensure to clear it if projects are added, changed or
    removed.
    
    Task-number: QTCREATORBUG-15116
    Change-Id: I529166bac363959c9fee0b946747fd0370a88809
    Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
    6b6ad446
Name
Last commit
Last update
..
analyzerbase Loading commit data...
android Loading commit data...
autotoolsprojectmanager Loading commit data...
baremetal Loading commit data...
bazaar Loading commit data...
beautifier Loading commit data...
bineditor Loading commit data...
bookmarks Loading commit data...
clangcodemodel Loading commit data...
classview Loading commit data...
clearcase Loading commit data...
cmakeprojectmanager Loading commit data...
coreplugin Loading commit data...
cpaster Loading commit data...
cppeditor Loading commit data...
cpptools Loading commit data...
cvs Loading commit data...
debugger Loading commit data...
designer Loading commit data...
diffeditor Loading commit data...
emacskeys Loading commit data...
fakevim Loading commit data...
genericprojectmanager Loading commit data...
git Loading commit data...
glsleditor Loading commit data...
helloworld Loading commit data...
help Loading commit data...
imageviewer Loading commit data...
ios Loading commit data...
macros Loading commit data...
mercurial Loading commit data...
modeleditor Loading commit data...
perforce Loading commit data...
projectexplorer Loading commit data...
pythoneditor Loading commit data...
qbsprojectmanager Loading commit data...
qmakeandroidsupport Loading commit data...
qmakeprojectmanager Loading commit data...
qmldesigner Loading commit data...
qmljseditor Loading commit data...
qmljstools Loading commit data...
qmlprofiler Loading commit data...
qmlprojectmanager Loading commit data...
qnx Loading commit data...
qtsupport Loading commit data...
remotelinux Loading commit data...
resourceeditor Loading commit data...
subversion Loading commit data...
tasklist Loading commit data...
texteditor Loading commit data...
todo Loading commit data...
updateinfo Loading commit data...
valgrind Loading commit data...
vcsbase Loading commit data...
welcome Loading commit data...
winrt Loading commit data...
plugins.pro Loading commit data...
plugins.qbs Loading commit data...