The workbench plugin now imports the "base_path" and "file_patterns" from 
Geany's project settings
as an workbench project directory. That directory is then treated as the 
project's base dir.

In the config file all settings related to the project's base dir are prefixed 
with "Prj-"
instead of e.g. "Dir1-". On loading of a workbench's project, the plugin checks 
if there
is a "base_path" in the "project" section but no "Prj-BaseDir" in the 
"Workbench" section.
In that case the data from the Geany project is imported. That means, the 
import happens only once.
On import, the project is marked as changed (a '*' is displayed after the 
project's name).

The project's base dir is always labeled "Base dir" and has a specific icon to 
show that it differ's
from the other directories. Also, it is always listed first/on top of the tree.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/634

-- Commit Summary --

  * workbench: import Geany project data

-- File Changes --

    M workbench/icons/16x16/Makefile.am (1)
    A workbench/icons/16x16/workbench-basedir.png (0)
    M workbench/icons/24x24/Makefile.am (1)
    A workbench/icons/24x24/workbench-basedir.png (0)
    M workbench/icons/32x32/Makefile.am (1)
    A workbench/icons/32x32/workbench-basedir.png (0)
    M workbench/icons/48x48/Makefile.am (1)
    A workbench/icons/48x48/workbench-basedir.png (0)
    M workbench/icons/scalable/Makefile.am (1)
    A workbench/icons/scalable/workbench-basedir.svg (25)
    M workbench/src/sidebar.c (39)
    M workbench/src/wb_project.c (165)
    M workbench/src/wb_project.h (2)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/634.patch
https://github.com/geany/geany-plugins/pull/634.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/634

Reply via email to