[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What IDE features do we need?
From: |
Mike Mattie |
Subject: |
Re: What IDE features do we need? |
Date: |
Mon, 28 Apr 2008 10:57:42 -0700 |
On Thu, 24 Apr 2008 19:26:29 +0300
Eli Zaretskii <address@hidden> wrote:
> > From: Stefan Monnier <address@hidden>
> > Date: Thu, 24 Apr 2008 08:26:52 -0400
> > Cc: Tassilo Horn <address@hidden>, address@hidden
> >
> > > Emacs already has infrastructure for most of those features (in
> > > etags and in Ebrowse), sometimes even more than one package that
> > > offers a different implementation of the same functionality, but
> > > we need better UI for them and better graphical methods of
> > > presenting the output.
> >
> > Refactoring requires a lot more infrastructure than what etags and
> > ebrowse provide.
>
> I'm not convinced, but I won't argue.
>
>
re-factoring requires structure e.g: graphs. a flat table is not even enough
to compute what's in scope at a given point. Without scoping information a
symbol
cannot be accurately renamed with accuracy.
A trivial example is static symbols in C code. They are invisible at the link
layer
but produce collisions in a etags file. The namespace directive in C++ can
declare the
same symbol with different name-spaces, and within the same file. Combined with
"use" the correct definition/declaration points cannot be determined from a
point
without basic scoping.
CEDET architecturally is spot on. The details are certainly worth examining
but there is a high degree of design convergence when working on this domain.
CEDET is definitely an example of the essential elements required for
static analysis.
I have developed a Emacs parser myself but I would recommend
CEDET as a design complete system without hesitation.
Cheers,
Mike Mattie
signature.asc
Description: PGP signature
- RE: What IDE features do we need?, (continued)
- RE: What IDE features do we need?, Drew Adams, 2008/04/22
- Re: What IDE features do we need?, Juri Linkov, 2008/04/22
- Re: What IDE features do we need?, Richard Stallman, 2008/04/23
- Re: What IDE features do we need?, Tassilo Horn, 2008/04/23
- Re: What IDE features do we need?, Eli Zaretskii, 2008/04/23
- Re: What IDE features do we need?, Stefan Monnier, 2008/04/24
- Re: What IDE features do we need?, Eli Zaretskii, 2008/04/24
- Re: What IDE features do we need?, Thomas Lord, 2008/04/24
- Re: What IDE features do we need?, Richard M Stallman, 2008/04/24
- Re: What IDE features do we need?, Mike Mattie, 2008/04/28
- Re: What IDE features do we need?,
Mike Mattie <=
- Re: What IDE features do we need?, Eli Zaretskii, 2008/04/28
- Re: What IDE features do we need?, Bruce Stephens, 2008/04/24
- Re: What IDE features do we need?, Richard Stallman, 2008/04/24
- Re: What IDE features do we need?, Tassilo Horn, 2008/04/24
- RE: What IDE features do we need?, klaus.berndl, 2008/04/24
- Re: What IDE features do we need?, David Kastrup, 2008/04/24
- Re: What IDE features do we need?, Richard M Stallman, 2008/04/24
- Re: What IDE features do we need?, joakim, 2008/04/24
- Re: What IDE features do we need?, Richard M Stallman, 2008/04/24