From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: code completion with type check Date: Tue, 12 Jun 2007 14:57:06 +0200 Message-ID: References: <1181644448.531666.283680@d30g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181653049 29664 80.91.229.12 (12 Jun 2007 12:57:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 12:57:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Martin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 14:57:27 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hy5w6-00023G-FV for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 14:57:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy5w6-00034j-2V for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 08:57:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hy5vr-000341-5G for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 08:57:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hy5vq-00032t-Iy for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 08:57:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy5vq-00032f-8e for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 08:57:10 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hy5vp-0005Bc-Kf for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 08:57:09 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id E6B1886CCACE; Tue, 12 Jun 2007 14:57:08 +0200 (CEST) Original-Received: from [89.59.198.179] (helo=wednesday) by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.108 #197) id 1Hy5vo-0005qY-00; Tue, 12 Jun 2007 14:57:08 +0200 In-Reply-To: <1181644448.531666.283680@d30g2000prg.googlegroups.com> (Martin's message of "Tue\, 12 Jun 2007 10\:34\:08 -0000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX19YQXnm8KQ8AgBF2m/dYgrZgLTTxZ3Snrh6Ka3v aFo6Gow9oKPy3W0+V/hM7lwpBihfthjrO4U+/IPiPFOI/qPTuu qSaKQT+pC+fpQo9s+79Q== X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44922 Archived-At: Martin wrote: > 1. shows me the parameter list when I start a functioncall. > 2. gives me a choice for my parameter, e.g. if the parameter's type is > an enum of type test_enum_t (s.below) then I want the extension to > show me that I can pick CHOICE_A and CHOICE_B. > In some C++ or Delphi IDEs this is done by CTRL-Space. > So, there must be something like this out there, right? I'm afraid you won't find the exact thing you're looking for. CEDET's Semantic offers some completion mechanisms, but none as integrated and complete as you see in some IDEs. `semantic-idle-summary-mode' is probably your best bet for parameter lists. I doubt there's anything offering syntactic completions with type checks. You might find some more stuff at http://www.emacswiki.org/cgi-bin/emacs-en/WhatAreTheNeedsOfProgrammers and http://www.emacswiki.org/cgi-bin/emacs-en/HowSemanticFulfillsThoseNeeds But if you're looking for the IntelliSense fix[0], Emacs is probably not the best place. regards, Nikolaj Schumacher [0] for a witty take on that topic, see: http://www.charlespetzold.com/etc/DoesVisualStudioRotTheMind.html