[MonoDevelop] Using binding Ambiences

Lluis Sanchez lluis at ximian.com
Thu Jun 8 15:19:42 EDT 2006


Hi,

Yeah, all that ambience stuff is pretty broken. But don't worry, all
this is going to be rewritten as part of one of the Google SoC projects.

Lluis.

El dj 08 de 06 del 2006 a les 21:03 +0200, en/na Alejandro Serrano va
escriure:
> Hi,
> I've been looking for the reason that makes Completion window show 
> members always as if the loaded binding was CSharp (I mean, showing 
> "string Clone ()" even in VB binding). I subclassed AbstractAmbience, 
> added to the add-in xml, but it does not matter: both VB, Boo and any 
> other binding continue showing it as in C#.
> I thought it would be a matter in CompletionData.cs, but then I saw in 
> Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Ambience this piece 
> of code:
> 
> "        public AmbienceReflectionDecorator CurrentAmbience {
>             get {
>                 string language = 
> Runtime.Properties.GetProperty(ambienceProperty, "CSharp");
>                 AmbienceReflectionDecorator ard = 
> (AmbienceReflectionDecorator) ambiences [language];
>                 if (ard == null) {
>                     ard = new 
> AmbienceReflectionDecorator((IAmbience)Runtime.AddInService.GetTreeNode("/SharpDevelop/Workbench/Ambiences").BuildChildItem(language, 
> this));
>                     ambiences [language] = ard;
>                 }
>                 return ard;
>             }
>         } "
> 
> It seems that it is always getting "CSharp" from the ambienceProperty. 
> Can anyone point me on the right direction to solve it or rewriting it 
> fro working OK?
> 
> Thanks in advance,
> Alejandro Serrano
> 
> 		
> ______________________________________________ 
> LLama Gratis a cualquier PC del Mundo. 
> Llamadas a fijos y móviles desde 1 céntimo por minuto. 
> http://es.voice.yahoo.com
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list