<table><tr><td style="">antonanikin retitled this revision from "help_templates_fix" to "Fix context help for template data types".<br />antonanikin updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ojmiw5fbcjqc5gp/" rel="noreferrer">(Show Details)</a><br />antonanikin updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-w3cq54pwrk5nkhw/" rel="noreferrer">(Show Details)</a><br />antonanikin added a reviewer: KDevelop.
</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/D3205" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">This patch fixes broken code-context help for template data types. Old version has buggy behavior:<br />
<br />
1) Place following code to some source file:<br />
<br />
```<br />
#include <cmath><br />
#include <math.h><br />
#include <vector><br />
#include <QList><br />
<br />
void test()<br />
{<br />
QList<int> l;<br />
l.append(1);<br />
<br />
double x = std::sin(1);<br />
double y = sin(1);<br />
std::vector<int> v;<br />
}<br />
```<br />
<br />
2) Place cursor to any function or templated type and call "Show Documentation" from context menu. Help page is NOT shown.<br />
<br />
This behavior caused by wrong usage of documentation Url - we pass full qualified type (with template information like `QList<...>`), but documentation has topics only for plain data type like `QList`.</span></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Tested on master branch with patched KDevelop plugings for Qt- and man- pages help.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKDEVPLATFORM KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3205" rel="noreferrer">https://phabricator.kde.org/D3205</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>antonanikin, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>