[Python-ideas] Accessible tools

Nikolaus Rath Nikolaus at rath.org
Fri Feb 20 04:11:14 CET 2015


On Feb 19 2015, "Stephen J. Turnbull" <stephen-Sn97VrDLz2sdnm+yROfE0A at public.gmane.org> wrote:
> Emacs has most of the features you're talking about in some form
> already.  I admit it is questionable whether the quality is up to the
> standards of Eclipse or Xcode.  For example, Emacs's completion
> feature is currently not based on the full AST and so doesn't come up
> to "intellisense" standards.

Are you sure? I believe that jedi effective uses the AST. It actually
parses the code in a subordinate Python interpreter and uses its
interspection capabilities.

> Emacs has a generic text-property feature, which is used by its native
> IDE, called "CEDET", to mark program block structure.  I don't know if
> CEDET knows about Python for your purposes,

It does.

> but it is based on a generic parser called "semantic", so it wouldn't
> be hard to teach it.

Well, not so sure about that. There's the slight hurdle of learning
ELisp first.

> Emacs also has a separate Python-mode which may already have expand/
> collapse functionality

It does.

> Emacs is not to everybody's taste.  But its underlying design is very
> close to what you're talking about already, and most of the features
> are already in place.  Please look at it.

Make sure to look at Emacs 24. All of the above can also be set up for
Emacs 23, but using 24 will save you a lot of time.

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


More information about the Python-ideas mailing list