[nem-en] More for completion
Kamil Skalski
kamil.skalski at gmail.com
Wed Jun 14 17:46:24 CEST 2006
We could plug into the place where members and classes are marked as
"used", I guess it is in Typer2.n
The main problem with this is performance, since finding all
references means simply performing full analysis of all code in all
methods, which is quite slow for larger projects.
2006/6/14, Alejandro Serrano <trupill at yahoo.es>:
> Hi again,
> Thanks to all new completion features I've been able to make the Nemerle
> binding for MD a lot better, so we now have real completion, that works
> almost always (even with generic types).
> The next step I need to make, so Nemerle could be used with Stetic
> designer (yeah, designing GTK# applications with a designer and
> Nemerle!), is to add refactoring support. More specifically, I need to
> develop some way to get, inside a code file, the references to some
> method or class. For example
>
> def n = MyWindow (); <- here we have a reference
> n.Controls.Add (...); <- here not, because it is just a name
>
> And the same with members.
>
> n.Controls.Add (..) <- here is a reference to Controls
>
> The method should take a IMember or TypeInfo and return every references
> in the file. Any idea? I can't see any easy way to do it... :-(
>
> Thanks in advance
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list