https://github.com/codebrainz/cleany
A wrapper script for Geany projects.
https://github.com/codebrainz/cleany
geany ide project
Last synced: 3 months ago
JSON representation
A wrapper script for Geany projects.
- Host: GitHub
- URL: https://github.com/codebrainz/cleany
- Owner: codebrainz
- Created: 2017-10-09T00:29:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T01:29:34.000Z (over 7 years ago)
- Last Synced: 2025-01-15T11:47:59.563Z (5 months ago)
- Topics: geany, ide, project
- Language: Shell
- Size: 1000 Bytes
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cleany
======> A wrapper script for Geany projects.
---
Introduction
------------`cleany` is a simple Bash wrapper script around Geany's executable which
makes it easier to open projects. Every project gets its own
complete configuration (both global and project-specific). Geany is
started up in a mode suitable for working on a project as a directory
of files.Other than `-h` for help/usage message, only the last argument passed
to `cleany` is processed, the rest of the arguments are passed directly
to `geany`. The last argument is taken to be the project base directory.
If the project doesn't exist, a new configuration will be created for it.`cleany` passes a project-specific configuration directory using the `-c`
option as well as passes a project filename to Geany.----
Usage
-----#### Create or open project in the current directory
`$ cleany .`
#### Create or open a project in another directory
`$ cleany /else/where`
---
Tips
----- Add the `cleany` script to your `$PATH` environment variable to
avoid having to type its full path.
- Load the "ProjectOrganizer" plugin to get project-wide tags and
a sidebar tree to navigate the project.
- Add `.geany` to your version control system's exclude list.
- Ex. put `/.geany/` in `.gitignore` file for Git VCS.----
Bugs
----- Geany seems to clobber rather than honour the `last_dir` value in
the `[VTE]` group of the initial project file. I would expect it to
change directories in the Terminal to this directory, if specified.
- There's probably all kinds of command-line arguments that will
be confused between this wrapper script and Geany itself. The above
usage examples should be fine, however.----
Default directory structure
---------------------------Below is an example of the resulting files on a fresh `cleany` project
directory:```bash
$ cleany foo
$ tree -a foo
foo
└── .geany
├── config
│ ├── filedefs
│ │ └── filetypes.README
│ ├── geany.conf
│ ├── keybindings.conf
│ └── templates
│ ├── files
│ └── templates.README
└── foo.geany5 directories, 5 files
```