[nem-en] Completion
vc
vc at rsdn.ru
Mon Jun 5 11:57:17 CEST 2006
> > 1. I try use completion for the following strings:
> > try_completion ("Fo");
> > try_completion ("");
> > try_completion ("def _ = 0; ");
> >
> I'm trying to see what happens in those situations. Although the second
> and third one may require changes to the compiler itself.
Hm... What tell about this compiler guys?
My skills in Nemerle not enough for changing compiler logic. :)
> Also, remember that Completion Engine does not show keywords.
It's no problem because it's a simple static list. But I need to know how to
receive the list of extending syntax macro.
> You need to get a IMethod, from where you run RunCompletionEngine. You
> can look at the Nemerle binding for MonoDevelop to check.
Please, point to a file in which it is possible to see.
> Instead of getting just the NamespaceTree nodes that are Cached
> (TypeBuilder) and NamespaceReference, you will have to look at every
> single node.
I.e. like loop() in compl3.n?
> You can update the location in the IDE without affecting any
> functionality in the Completion Engine.
Directly in AST? It seems to me is better if in it will make by copletion
engine. I shall transfer to it a range of the changed text and it
recalculate location. This functionality is necessary in all IDE.
> Indeed, that's how it works in
> MonoDevelop: we get the method the user is working in, and pass it to
> RunCompletionEngine.
Thanks. I shall try to see.
Vlad.
More information about the devel-en
mailing list