[MonoDevelop] Assembly reorganization

Lluis Sanchez lluis at ximian.com
Tue Jul 26 13:48:55 EDT 2005

El dl 25 de 07 del 2005 a les 17:16 -0300, en/na Rafael Teixeira va
> On 7/25/05, Lluis Sanchez <lluis at ximian.com> wrote:
> > >
> > > Also I disliked the IdeApplication name, I would prefer just
> > > MonoDevelop.Application.
> > 
> > I also don't like IdeApplication too much as well. However, I don't
> > think that MonoDevelop.Application is also good enough since, as I said,
> > there can be other MD based applications in the future. The namespace
> > should differentiate the IDE application from other applications.
> What about: 
> MonoDevelop.IntegratedDevelopmentEnvironment
> I know it is long but certainly the class name is seldom used/typed,
> and the using clauses for the namespace are normally 'autocompleted',
> It is the kind of name my classes and methods get as I deem
> clarity/precision as much more important than source file size (look

I think that in the context of software development, "IDE" is more clear
and easy to read than IntegratedDevelopmentEnvironment.

> at Mono.GetOptions sources to verify that).
> Your definition for IdeApplication was worded as
> > >               * The Ide class: a root class for accessing all IDE
> > >                 services (like we have Runtime for the core services).

Nope. MonoDevelop.IdeApplication is the namespace, not the class. The
class would be just Ide (that is, MonoDevelop.IdeApplication.Ide).

> And I think my long suggestion fits the "root class" concept well.
> Also IdeApplication , in truth, didn't convey the "access to IDE
> services" part so well, it kind of looked like an standalone/closed
> object.

I was referring to "IDE services" in a very generic way, meaning "the
Ide API". Here are a couple of examples of how would you use the Ide

using MonoDevelop.IdeApplication

// Startup
Ide.Initialize ();

// Open and modify a file
Document doc = Ide.Workbench.OpenDocument ("myfile.cs");
IEditable editable = doc.Content as IEditable;
editable.Text += "more text";
doc.Save ();
doc.Close ();

// Build a project using IDE's output panel and progress bars.
Project p = (Project) Runtime.ProjectService.ReadFile ("myproject.mdp");
Ide.ProjectOperations.Build (p);


So, the Ide class is the starting point for all IDE operations. The name
of the class should not be too long since it will be used often.


More information about the Monodevelop-list mailing list