[Geany-devel] Command-line option to open a project (was: Questions about Geany project support)

Dimitar Zhekov hamster at xxxxx
Tue Feb 23 16:45:50 UTC 2010

On Tue, 23 Feb 2010 01:17:05 +0300
Eugene Arshinov <earshinov at gmail.com> wrote:

> SM branch seems to be complete. Everybody is welcome for testing,
> especially with "Preferences -> General -> Misc -> Use
> project-based session files" check button unchecked; I don't know what
> it does...

First, it stores the list of open files in your project file. In
particular, when you exit Geany, the list is stored in the project file
and not in geany.conf.

Then, when you open a project, geany closes all currently open files
and loads the files from the the project.

> ...and whether it can really infect project-related behaviour I
> changed.

With this option turned on, and a project open, SM should probably
save the project, and store a single SmPropValue "project.geany" in the
properties instead of the full list of open files.

Why such an option exists is not entirely1 clear to me. In the other
development environments/editors I've seen, opening a project always
loads it's files, with or without a quetsion whether to close the
currently open files (if they're not in a project).

E-gards: Jimmy

More information about the Devel mailing list