<table><tr><td style="">kossebau 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/D4672" 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/D4672#88425" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D4672#88425</a>, <a href="https://phabricator.kde.org/p/mwolff/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@mwolff</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>Tons of new files and not a single test? Can you add some?</p></div>
</blockquote>

<p>Yes, haven't yet thought about unit tests, given the whole API is candidate for discussion.</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>I don't have the time to review all the files, but some remarks from looking at the images and reading your commit message:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">what other things do you want to integrate?</li>
</ul></blockquote>

<p>Ideally (and optionally per plugin) anything from project management which somehow is reflected in the code (repository).<br />
Like</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">bug ids in comments -> translated into links into the (web) UI of the issue tracker tool (or even fetching of bug metadata for tooltip)</li>
<li class="remarkup-list-item">keywords in commit messages -> translated into links into web UI of related (web) services or local client tools</li>
<li class="remarkup-list-item">version tags -> milestone tracker/project management tool</li>
<li class="remarkup-list-item">CI -> seeing current state in a tool view</li>
<li class="remarkup-list-item">author data -> PIM cpnnector showing more info about person or allowing to contact</li>
<li class="remarkup-list-item">filing tasks and todos -> invoke tools directly from IDE, without having to first hunt down the tools and find the correct folder for the project</li>
</ul>

<p>Especially when working on multiple projects at the same time or switching between some often, having the project content in the IDE enriched with related project data can improve developer life a lot. I do not have a master plan here, so far things are driven by a "oh-it-would-be-so-useful-to-have-this-instead-of-all-manual-pain".</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>In general, what do you plan to use this for? I mean the joy of git is that it's distributed. When would I ever need to go to the remote website for the current file? I can simply checkout a branch locally and look at that, no?</p></blockquote>

<p>The url mapping comes useful when working remotely with other people on the same files. E.g. when you look at the code and have a question or comment on something, when you communicate with the remote mates (e.g. in chat or central document/notes), you want to have a unique id of the content, which ideally can be automatically processed., so people can just click the id.<br />
Or when you use the web UI of the main repository to make comments on code (think phabricator), it's nice to get your IDE pass you directly to the place in the webUI.<br />
Same with the revision url mapping I added in the latest version.</p>

<p>Another use case yet to be explored would be custom kdevelop:// urls. So if multiple people use kdevelop, they could use such urls to create pointers into the content of a project, and then pass the url around e.g. on irc, and one would just click the link and get e.g. some text area shown and highlighted which the other person is talking about: "hey jane, in kdevelop://project_foo/src/pluginA/worker.cpp?11-15 isn't that inverted logic?"<br />
Though the same can also be achieved with mapping to/from a central Web UI, which would also allow others without kdevelop to follow: "hey jane, in <a href="https://phab.foo.bar/src/pluginA/worker.cpp?11-15" class="remarkup-link" target="_blank" rel="noreferrer">https://phab.foo.bar/src/pluginA/worker.cpp?11-15</a> isn't that inverted logic?"<br />
And the url mapping plugins would care for creating the urls and mapping the urls back into content positions, so the user does not have to type anything.</p>

<p>I know there have been times in my developer life where this feature of url mapping would have been very handy. Also in KDE development community setup I can see at least myself making use of it now and then, including kdevelop development :)</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/D4672" rel="noreferrer">https://phabricator.kde.org/D4672</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop, mwolff<br /><strong>Cc: </strong>mwolff, kdevelop-devel<br /></div>