[Gambas-user] Using soft links for source code files

Cedron Dawg cedron at exede.net
Fri Apr 26 18:47:58 CEST 2019

For me, the [read-only] is a feature.  It tells me that that file is "imported" and maintained elsewhere (easily found by the link properties).

With a hard link they are "the same file" in two spots.  The danger there is if two or more projects are open, then there is the possibility of edits stepping on each other.

When I make a source archive, or a zip file, the soft linked files get copied as though they are there, so that works fine.  My concern is there might be other issues that could trip me up, but I can't think of any.  I also can't find another slick way to share source code files amongst projects.

----- Original Message -----
From: "Tony Morehen" <tmorehen at ajm-software.com>

Use hard links.  Symlinked files will be read-only in the project with 
the symlinks.  You can only edit in the original project.

More information about the User mailing list