List Info

Thread: Some question for the Nemerle add-in




Some question for the Nemerle add-in
user name
2006-05-29 15:11:19
Hi,
First of all, thanks for comitting the add-in to SVN.
However, I have 
some questions that I need to get answered to continue
improving it:

1. How can I get the Monodoc information shown as in C# and
VB bindings?
2. I've seen method information in Compeltion window is
always shown in 
the C# order (in VB or Nemerle add-ins either). Are there
any plans to 
change it so it takes the information from the add-in? If
you tell me 
how this information is retrieved, I could try changing by
myself.
3. Finally, the  use of Stetic in Nemerle. When I first add
a window, 
the .n file is correctly generated. However, when I clic the
window in 
the tree view to show the designer, it shows me a box asking
for a file, 
and when I click OK, it creates a .cs file (in C#). However,
I've 
checked that a generated.n file is correctly generated. Is
this a 
problem of the Stetic add-in or a Nemerle add-in problem?

Thanks in advance,
Alejandro Serrano "Serras"

		
______________________________________________ 
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
Some question for the Nemerle add-in
user name
2006-05-29 15:54:24
El dl 29 de 05 del 2006 a les 17:11 +0200, en/na Alejandro
Serrano va
escriure:
> Hi,
> First of all, thanks for comitting the add-in to SVN.
However, I have 
> some questions that I need to get answered to continue
improving it:
> 
> 1. How can I get the Monodoc information shown as in C#
and VB bindings?

If the documentation is properly registered in Monodoc, it
should be
shown by code completion. This is unrelated to language
bindings,
information is only shown for assemblies.

> 2. I've seen method information in Compeltion window
is always shown in 
> the C# order (in VB or Nemerle add-ins either). Are
there any plans to 
> change it so it takes the information from the add-in?
If you tell me 
> how this information is retrieved, I could try changing
by myself.

Yes, there are plans for allowing per-language member
formatting. This
will be done as part of one of the Google SoC projects.

> 3. Finally, the  use of Stetic in Nemerle. When I first
add a window, 
> the .n file is correctly generated. However, when I
clic the window in 
> the tree view to show the designer, it shows me a box
asking for a file, 
> and when I click OK, it creates a .cs file (in C#).
However, I've 
> checked that a generated.n file is correctly generated.
Is this a 
> problem of the Stetic add-in or a Nemerle add-in
problem?

This might be a problem in the stetic add-in, I'll review
it. In any
case, to fully support the Stetic designer you'll need to
implement an
IRefactorer interface for Nemerle (you can also subclass
BaseRefactorer,
which is a default implementation of IRefactorer).

Lluis.


_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Some question for the Nemerle add-in
user name
2006-05-29 18:49:11
>> 1. How can I get the Monodoc information shown as
in C# and VB bindings?
>>     
>
> If the documentation is properly registered in Monodoc,
it should be
> shown by code completion. This is unrelated to language
bindings,
> information is only shown for assemblies.
I don't mean showing Monodoc tab, but showing the
information C# and VB 
bindings show in completion window, about the member
selected from the 
list in each moment.
>
>   
>> 3. Finally, the  use of Stetic in Nemerle. When I
first add a window, 
>> the .n file is correctly generated. However, when I
clic the window in 
>> the tree view to show the designer, it shows me a
box asking for a file,
>> and when I click OK, it creates a .cs file (in C#).
However, I've 
>> checked that a generated.n file is correctly
generated. Is this a 
>> problem of the Stetic add-in or a Nemerle add-in
problem?
>>     
>
> This might be a problem in the stetic add-in, I'll
review it. In any
> case, to fully support the Stetic designer you'll need
to implement an
> IRefactorer interface for Nemerle (you can also
subclass BaseRefactorer,
> which is a default implementation of IRefactorer).
>
>   
I implemented most of the methods in 
Extras/NemerleBinding/Parser/CodeGeneration.cs, where
BaseRefactorer is 
subclassed. The problem, however, seems to be that Stetic
add-in is 
looking for a .cs file instead of allowing any kind of file.
I've 
haven't looked into Stetic add-in codebase though, so this
is just my view.

Thanks for the help,
Alejandro

		
______________________________________________ 
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
Some question for the Nemerle add-in
user name
2006-05-29 20:41:04
El dl 29 de 05 del 2006 a les 20:49 +0200, en/na Alejandro
Serrano va
escriure:
> >> 1. How can I get the Monodoc information shown
as in C# and VB bindings?
> >>     
> >
> > If the documentation is properly registered in
Monodoc, it should be
> > shown by code completion. This is unrelated to
language bindings,
> > information is only shown for assemblies.
> I don't mean showing Monodoc tab, but showing the
information C# and VB 
> bindings show in completion window, about the member
selected from the 
> list in each moment.

This is also what I mean. MonoDevelop takes this
documentation from
Monodoc. If your classes are properly documented in Monodoc,
the
documentation should be shown in the code completion window.

> >
> >   
> >> 3. Finally, the  use of Stetic in Nemerle.
When I first add a window, 
> >> the .n file is correctly generated. However,
when I clic the window in 
> >> the tree view to show the designer, it shows
me a box asking for a file,
> >> and when I click OK, it creates a .cs file (in
C#). However, I've 
> >> checked that a generated.n file is correctly
generated. Is this a 
> >> problem of the Stetic add-in or a Nemerle
add-in problem?
> >>     
> >
> > This might be a problem in the stetic add-in,
I'll review it. In any
> > case, to fully support the Stetic designer you'll
need to implement an
> > IRefactorer interface for Nemerle (you can also
subclass BaseRefactorer,
> > which is a default implementation of IRefactorer).
> >
> >   
> I implemented most of the methods in 
> Extras/NemerleBinding/Parser/CodeGeneration.cs, where
BaseRefactorer is 
> subclassed. The problem, however, seems to be that
Stetic add-in is 
> looking for a .cs file instead of allowing any kind of
file. I've 
> haven't looked into Stetic add-in codebase though, so
this is just my view.

I'll take a look on this.

> 
> Thanks for the help,
> Alejandro
> 
> 		
> ______________________________________________ 
> 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-4]

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