[MonoDevelop] Subdirectory as a Namespace
Federico Di Gregorio
fog at initd.org
Mon Dec 3 08:10:08 EST 2007
Il giorno lun, 03/12/2007 alle 11.32 +0000, Marek Safar ha scritto:
> > Visual Studio works that way (creating a sub-namemspace) and
> > it's sometimes useful but other times I want to change the
> > namespace in some subdir for a particular reason. I've always
> > wished I could set the default namespace for a folder, rather
> > than just for a project.
> Another option would be to detect namespace from existing files
> in the folder and use default one when no file exists.
That would be extremely useful. I'd use, in priority order:
1) Namespace inferred from existing files in same directory
2) Directory name IF can be considered a sub-namespace (i.e., Foo.Bar
directory inside Foo generates "Foo.Bar" namespace but Baz.Zot doesn't
gnerate "Baz.Zot" namespace, just skip to point (3).
3) Use default namespace from project.
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer fog at debian.org
INIT.D Developer fog at initd.org
Best friends are often failed lovers. -- Me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20071203/e1b20199/attachment.bin
More information about the Monodevelop-list