<table><tr><td style="">cullmann created this revision.<br />Herald added a project: Kate.<br />Herald added a subscriber: kwrite-devel.<br />cullmann requested review of this revision.
</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/D22710">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If you work on different projects, at the moment clangd is shared.<br />
That doesn't work, as it needs a compilation database "per project".<br />
Therefore: move the heuristic "what is the root" to the generic code<br />
and use the root for the compilation database</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>now, I get proper handling if I open different projects at once<br />
before, the first project did win and all others did have<br />
wrong compilation databases used</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22710">https://phabricator.kde.org/D22710</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>addons/lspclient/lspclientservermanager.cpp</div></div></div><br /><div><strong>To: </strong>cullmann<br /><strong>Cc: </strong>kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>