On 7/19/07, Christophe Raffalli wrote: > > > > > > Yes exactly, let definition with very small name and/or very > > small scope do not need to be displayed in the outline. > > > > In fact, and because we dont know what we want yet, the best would be to > have > > - a minimum length (in char) for indentifier > - a minimum length (in line) for scope size > - and a choice between and and or > > Then you could say: I display an identifier if its length >= 3 and its > scope size >= 30 > > Or you could say I display an identifier if its length >= 10000 or its > scope size >= 30 > (which means that the length is useless) > > The only question is whether OCalIDE can compute the scop size of an ident > ? Yes it would be a good idea. I think it could be done, but I'm not sure, so we will have to wait until the person who writes the parser for the code (Nicolas) came back. An AST (Abstract Syntax Tree) is build to represent the code, then I guess we could find the scope of a definition... Regards, Rafael >> Regards, > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Caml-list mailing list. Subscription management: > >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > >> Archives: http://caml.inria.fr > >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > >> Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > -- > Christophe Raffalli > Université de Savoie > Batiment Le Chablais, bureau 21 > 73376 Le Bourget-du-Lac Cedex > > tél: (33) 4 79 75 81 03 > fax: (33) 4 79 75 87 42 > mail: Christophe.Raffalli@univ-savoie.fr > www: http://www.lama.univ-savoie.fr/~RAFFALLI > --------------------------------------------- > IMPORTANT: this mail is signed using PGP/MIME > At least Enigmail/Mozilla, mutt or evolution > can check this signature. The public key is > stored on www.keyserver.net > --------------------------------------------- > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >