From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: What IDE features do we need? Date: Wed, 23 Apr 2008 22:29:04 +0200 Message-ID: <87zlrktiwf.fsf@baldur.tsdh.de> References: <87ve2ac2eo.fsf@jurta.org> <20080422115216.GA2609@muc.de> <87zlrleftm.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208982629 2542 80.91.229.12 (23 Apr 2008 20:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2008 20:30:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 23 22:31:04 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JolcG-0008RR-Lo for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2008 22:30:59 +0200 Original-Received: from localhost ([127.0.0.1]:51100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jolao-0008Hf-1a for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2008 16:29:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jolak-0008HB-Ai for emacs-devel@gnu.org; Wed, 23 Apr 2008 16:29:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jolac-0008GI-7t for emacs-devel@gnu.org; Wed, 23 Apr 2008 16:29:22 -0400 Original-Received: from [199.232.76.173] (port=55517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jolac-0008GF-4w for emacs-devel@gnu.org; Wed, 23 Apr 2008 16:29:14 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jolab-0007uD-D8 for emacs-devel@gnu.org; Wed, 23 Apr 2008 16:29:14 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 775A510283E for ; Wed, 23 Apr 2008 16:29:06 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 23 Apr 2008 16:29:06 -0400 X-Sasl-enc: yjGqR9xlYTA9OAIgL9ImcDEXLuI/MJPxHGXiXe3En0ZJ 1208982545 Original-Received: from baldur.tsdh.de (p54AF182A.dip0.t-ipconnect.de [84.175.24.42]) by mail.messagingengine.com (Postfix) with ESMTPA id 9D8592EEFF for ; Wed, 23 Apr 2008 16:29:05 -0400 (EDT) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 23 Apr 2008 11:58:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95861 Archived-At: Richard Stallman writes: > all these "intellisense", code browsing and refactoring > things. > > Could you tell us in a way that would be clear to those of us who > don't already know what this refers to? Well, *intellisense* is an intelligent completion. For example, let's say in Java I have an instance of a class foo, then typing myFooInstance. will complete all field and method names, that are applicable in that context, e.g. they're defined in the class Foo or one of its super classes and they have the correct visibility. The same can be done when completing function parameters. For example, if there's a method doMagic(Bar bar) in class Foo, then myFooInstance.doMagic( will only propose local and global variables of class Bar or function/method calls that return a reference to a Bar instance. With *browsing* one means the ability to quickly grasp all informations of the classes and functions. For example, if point is on an instance of Foo, a simple command should take me to its definition. Some more advanced queries could be - Find all places in subclasses of Foo, where the method Foo.doMagic(Bar bar) is overwritten. - Find all function calls of Foo.doMagic() *Refactoring* basically means restructuring the code, so that it's more clean and maintainable. Some common refactorings are: - Extract method: Mark a region in a long method, say "Extract method", the IDE asks for a name and then creates a new method which contains the code of the region. The parameters and the new function call replacing the extracted code are figured out automagically. - Simple renaming: You say rename at any part of the code, may it be a variable, a class or a function. That will rename every occurence in a semantic correct manner. If you rename doMagic(), every call in the whole project will be renamed, default or overwriting definitions in super/sub classes will be renamed, the JavaDoc source documentation will be adapted and so on. In Java, if you rename a class, the file has to be renamed as well. - Change the signature of a method, ... All these features (and much more) work out of the box with the Eclipse IDE for Java. Bye, Tassilo