lp:~delfick/+junk/projectMarker
Will let you choose a root directory for a project, which it will add to a list of root project directories.
Then everytime a file is opened, the uri of that file is compared to the list of directories. If it is found that it is under the root of a directory, then it is assumed to be part of that project and a "root_dir" variable containing the matched root is added to the view.
Which can then be received by any other plugin via : view.get_
The directories can then be managed via the bottom pane of gedit.
- Get this branch:
- bzr branch lp:~delfick/+junk/projectMarker
Branch information
- Owner:
- Stephen Moore
- Status:
- Development
Recent revisions
- 5. By iambob <iambob@iambob-desktop>
-
no longer creates .project files. Instead just makes a list of directories that will act as project root directories. Then everytime a file is opened, it is looked at to see which root, if any, it belongs to and sets the root_dir property for that view accordingly. I've also added a bottom pane for editing, removing and adding project roots
- 4. By iambob <iambob@iambob-desktop>
-
the 'root_dir' property for each view is now set if that view has a document which contains a valid .project file in its directory
- 3. By iambob <iambob@iambob-desktop>
-
created menu entries that allow you to create and remove .project files from a particular root directory down
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)