<table><tr><td style="">vbspam added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9297" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Thank you for your attention.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>can you turn the test projects into proper unit tests that can be run in an automated fashion to see what happens here?</p></blockquote></blockquote>

<p>I need first learn how to do it, I will let you know when I have something.</p>

<p>You are right, in the meantime I did find that the fix is not solving all my complex test cases. I did some investigation and it looks that sometimes the query for project item resources (<a href="https://github.com/vbspam/kdevelop/blob/master/plugins/clang/clangparsejob.cpp#L169" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/vbspam/kdevelop/blob/master/plugins/clang/clangparsejob.cpp#L169</a>) uses absolute and sometimes canonical path representation.</p>

<p>Subjective opinion: I also realized that I do not like the automatic resolving of symbolic links to be presented to the end user as KTextEditor or KATE components are doing (with some example here: <a href="https://bugs.kde.org/show_bug.cgi?id=387866#c5" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=387866#c5</a> which has I believe consequences described in the bug report). This is not suggestion for change, it is just other view. I can understand that KDevelop may have reasons why is doing it this way. I did realized that when I used QtCreator which does not resolve symlinks and I felt this as more comfortable when thinking about the code (no need to draw attention to locations outside the project).</p>

<p>I will go through by you suggested spots in the code to better understand the issue and maybe try to fix it properly.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9297" rel="noreferrer">https://phabricator.kde.org/D9297</a></div></div><br /><div><strong>To: </strong>vbspam, KDevelop, mwolff<br /><strong>Cc: </strong>mwolff, brauch, kdevelop-devel, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>