<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/107020/">http://git.reviewboard.kde.org/r/107020/</a>
     </td>
    </tr>
   </table>
   <br />



<table bgcolor="#e0e0e0" width="100%" cellpadding="8" style="border: 1px gray solid;">
 <tr>
  <td>
   <h1 style="margin-right: 0.2em; padding: 0; font-size: 10pt;">This change has been marked as submitted.</h1>
  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KDevelop and Aleix Pol Gonzalez.</div>
<div>By Eike Hein.</div>


<p style="color: grey;"><i>Updated April 15, 2013, 11 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch aims to make the "Execute" action more convenient and useful by switching the active launch configuration at the time the action is invoked in one of the following ways:

- If any launch config name matches the start of the name of the currently viewed file, use that launch config.

- Failing the above, if any launch config name matches the name of the project owning the currently viewed file, use that launch config.

If neither succeeds, the launch config is unchanged.

Bottom line: If you have more than launch config for a single project, chances are you're launching individual scripts or executables inside the project and are naming your launch configs after those files. If you only have a single launch config per project - but more than one project in the session - chances are they'll be named after the projects. The behavior outlined succeeds in switching to the appropriate launch config in both cases.

Now, this behavior is 'magic' and, while useful, essentially unpredictable to the user. Personally I have trouble with seeing it in the mainline for that reason, and think it needs some sort of UI to control it. However, I have no non-convoluted idea for how that UI might look like, and Aleix succeeded in talking me into filing a review request anyway - if nothing else, maybe it'll get us somewhere in discussion.</pre>
  </td>
 </tr>
</table>





<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>shell/runcontroller.cpp <span style="color: grey">(0f0547e)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/107020/diff/" style="margin-left: 3em;">View Diff</a></p>







  </td>
 </tr>
</table>




  </div>
 </body>
</html>