[MonoDevelop] Documentation on hardcore features of Monodevelop

Etienne Fortin etienne.fortin at sympatico.ca
Tue Nov 11 19:47:04 EST 2008



Michael Hutchinson a écrit :
> On Tue, Nov 11, 2008 at 7:28 AM, Etienne Fortin
> <etienne.fortin at sympatico.ca> wrote:
>   
>> In noticed. I really didn't look at it that much so what I'll say may be
>> completely off track (and I don't have my Monodevelop nearby to verify, it
>> is compiling the latest trunk version of mono right now), but I believe it
>> adds the base namespace prefix to the directory structure, starting with the
>> base directory of the project. The thing is I like to put my source files
>> under a "sources" directory. And I don't want "sources" to appear in the
>> namespace. Maybe a setting stating where is the root dir of the sources tree
>> would be an interesting addition. Enhancement bug? :)
>>     
>
> That's an interesting problem to solve without overcomplicating the
> UI, since there are several ways that people like to base their
> namespaces on the directory structure. Maybe we need to catalogue all
> the common systems first.
>
>   
Hmmmm, I didn't thought of it that way. But you are right, there's 
probably as much ways of wanting this to be done than there are 
programmers out there. How about a "Source Tree Organizer Template" file 
(stot.xml) describing how to automatically manage some aspect of sources 
files, the first thing coming to mind is namespace convention. There 
could be regex support, conditionals and a lot more I can't think of 
right now.

I wonder if this could become like an external pre-processor where a 
"template" file describes how to pre-process source files prior to 
compilation. Maybe a little bit too much, but I don't know, could be 
interesting.

Etienne



More information about the Monodevelop-list mailing list