List Info

Thread: Using binding Ambiences




Using binding Ambiences
user name
2006-06-08 19:03:43
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-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Using binding Ambiences
user name
2006-06-08 19:19:42
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-listlists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )