<table><tr><td style="">kfunk 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/D3673" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D3673#76450" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;" rel="noreferrer">D3673#76450</a>, <a href="https://phabricator.kde.org/p/zwabel/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@zwabel</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>Hi, sorry that I'm late on this, but this is wrong.</p></div>
</blockquote>



<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>The outline is ment to be a more compact view of the file, sorted in the same way. That means, if you click into the outline, the current function is selected in it, and you get an overview of the surrounding. For example, you can press CTRL+ALT+N, up-arrow, enter, to jump to the function above. Sorting completely breaks this.</p></blockquote>

<p>Hmm, I never felt the urge to do this actually.  *Might* be useful for some people , but definitely not for all. See below.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Such a sorted list does not belong into the outline, but rather into the quick open widget at the left side of it. It would naturally fit there, being just like "CTRL+Alt+M", just with a new "Scope" called "Current File". Btw. I noticed that the selection of scopes in Quickopen was broken at some point. If it wouldn't be broken, a very similar functionality would already be available in Quickopen, by selecting "Currently Open" for "Scope", and "Functions" for "Items".</p></blockquote>

<p>IMO we shouldn't overload the Quick Open widget with even more functionality, it's already complex enough as-is.</p>

<p>What about just making the sorting optional in the outline and add a push button at the below the list view? There are already combo boxes in Quick Open, so  it shouldn't be difficult to add. Note we already have similar functionality in the outline *tool view*, where we can toggle sorting by simply pressing a button.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3673" rel="noreferrer">https://phabricator.kde.org/D3673</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>kfunk, brauch, KDevelop, nellex<br /><strong>Cc: </strong>zwabel, kdevelop-devel, brauch, KDevelop, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>