From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Re: What IDE features do we need?
Date: Wed, 23 Apr 2008 22:29:04 +0200 [thread overview]
Message-ID: <87zlrktiwf.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <E1JohMv-000397-JK@fencepost.gnu.org> (Richard Stallman's message of "Wed, 23 Apr 2008 11:58:49 -0400")
Richard Stallman <rms@gnu.org> 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.<completion-key>
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(<completion-key>
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
next prev parent reply other threads:[~2008-04-23 20:29 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 19:46 Please stop proposing changes in defaults! Richard Stallman
2008-04-21 21:32 ` Paul R
2008-04-22 4:20 ` Richard Stallman
2008-04-21 21:40 ` Juri Linkov
2008-04-22 3:30 ` Eli Zaretskii
2008-04-22 4:20 ` Richard Stallman
2008-04-22 8:48 ` Juri Linkov
2008-04-22 11:52 ` What IDE features do we need? [Was: Please stop proposing changes in defaults!] Alan Mackenzie
2008-04-22 12:22 ` Dan Kruchinin
2008-04-22 12:28 ` Dan Kruchinin
2008-04-22 20:08 ` Richard Stallman
2008-04-22 21:13 ` Paul R
2008-04-22 13:28 ` What IDE features do we need? defaults!] Eli Zaretskii
2008-04-22 13:41 ` joakim
2008-04-22 17:07 ` klaus.berndl
2008-04-22 14:27 ` Drew Adams
2008-04-22 15:44 ` What IDE features do we need? Alan Mackenzie
2008-04-22 15:40 ` Drew Adams
2008-04-22 17:12 ` joakim
2008-04-22 15:44 ` Eric Hanchrow
2008-04-22 16:27 ` Drew Adams
2008-04-22 21:12 ` Juri Linkov
2008-04-23 15:58 ` Richard Stallman
2008-04-23 20:29 ` Tassilo Horn [this message]
2008-04-24 3:21 ` Eli Zaretskii
2008-04-24 12:26 ` Stefan Monnier
2008-04-24 16:26 ` Eli Zaretskii
2008-04-24 17:21 ` Thomas Lord
2008-04-25 3:40 ` Richard M Stallman
2008-04-28 18:28 ` Mike Mattie
2008-04-28 17:57 ` Mike Mattie
2008-04-28 18:23 ` Eli Zaretskii
2008-04-24 19:55 ` Bruce Stephens
2008-04-24 5:15 ` Richard Stallman
2008-04-24 6:24 ` joakim
2008-04-24 19:42 ` Richard M Stallman
2008-04-24 6:35 ` Tassilo Horn
2008-04-24 9:58 ` klaus.berndl
2008-04-24 10:25 ` David Kastrup
2008-04-24 19:43 ` Richard M Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zlrktiwf.fsf@baldur.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.