From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e7151167e0767ecc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!news-fra1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Code completion Date: Thu, 2 Sep 2004 17:42:03 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <8429999a.0408231027.2850e800@posting.google.com> <877jrjhzx4.fsf@insalien.org> <19b0e504.0408300906.15164bf3@posting.google.com> <19b0e504.0408310911.1e885c26@posting.google.com> <1093982960.20821@master.nyc.kbcfp.com> <19b0e504.0409020711.4be8797c@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: a1-hrz.uni-duisburg.de 1094146923 11169 134.91.1.34 (2 Sep 2004 17:42:03 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 2 Sep 2004 17:42:03 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:3268 Date: 2004-09-02T17:42:03+00:00 List-Id: Bj�rn Persson wrote: : So what would be really useful would : be a search function that I could invoke with a key press, type "text : integer", and get Ada.Integer_Text_IO and Ada.Text_IO.Integer_IO as : matches, For a start, you could run grep -i 'package\|procedure\|function' *.ads once, in the directory where you Ada system files have been entered. (Use findstr if you have Windows.) Save the output in a file. Then, for a two word search, use the features of your editor to bind a key to a command like the following. grep -i %1 output.file | grep -i %2 :-) This is not a the real thing though. Searching the LRM in one of its free forms is useful, too. It is available in Info format, so if Emacs is your IDE, searching is easy and quick. Is there a risk that with package-dot-popup functionality alone program text will have an abundance of FQNs? (The public Ada Emacs mode has identifier completion, though to some extent only.) -- Georg