<p>The workbench plugin now imports the "base_path" and "file_patterns" from Geany's project settings<br>
as an workbench project directory. That directory is then treated as the project's base dir.</p>
<p>In the config file all settings related to the project's base dir are prefixed with "Prj-"<br>
instead of e.g. "Dir1-". On loading of a workbench's project, the plugin checks if there<br>
is a "base_path" in the "project" section but no "Prj-BaseDir" in the "Workbench" section.<br>
In that case the data from the Geany project is imported. That means, the import happens only once.<br>
On import, the project is marked as changed (a '*' is displayed after the project's name).</p>
<p>The project's base dir is always labeled "Base dir" and has a specific icon to show that it differ's<br>
from the other directories. Also, it is always listed first/on top of the tree.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/634'>https://github.com/geany/geany-plugins/pull/634</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>workbench: import Geany project data</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-0">workbench/icons/16x16/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-1">workbench/icons/16x16/workbench-basedir.png</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-2">workbench/icons/24x24/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-3">workbench/icons/24x24/workbench-basedir.png</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-4">workbench/icons/32x32/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-5">workbench/icons/32x32/workbench-basedir.png</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-6">workbench/icons/48x48/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-7">workbench/icons/48x48/workbench-basedir.png</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-8">workbench/icons/scalable/Makefile.am</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-9">workbench/icons/scalable/workbench-basedir.svg</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-10">workbench/src/sidebar.c</a>
    (39)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-11">workbench/src/wb_project.c</a>
    (165)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/634/files#diff-12">workbench/src/wb_project.h</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/634.patch'>https://github.com/geany/geany-plugins/pull/634.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/634.diff'>https://github.com/geany/geany-plugins/pull/634.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/634">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ5ZK-Yzlkc3MIGqUtESYO71qUA5jks5stl9dgaJpZM4P-T2r">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0LjRuDXp3Y865KNY1yypns5mraVks5stl9dgaJpZM4P-T2r.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/634"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"workbench: import Geany project data (#634)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany-plugins/pull/634"}}}</script>