i am going to get crazy!!!

Xavier Noria fxn at hashref.com
Wed Sep 15 07:03:36 EDT 2004


On Sep 15, 2004, at 12:37, Elbert Lev wrote:

> I agree with you. I find myself jumping from TextPad or vim to
> PythonWin, because TextPad does not have help/autocompletion, but is
> fast (not so vim or emax). PythonWin is slow but has a debugger and a
> sort of semyfunctional help/autocompletion.

Just being curious, what kind of autocompletion do you guys expect for 
a dynamic language? Some people have mentioned Java IDEs talking about 
this feature, but since there is no place in the source that says that 
in

     name = user.name

User.name() returns a string, after that line name.<ctrl-spc> cannot 
complete for string attributes, it just doesn't know name is expected 
to be a string. The method theoretically could return objects of 
different types depending on something, indeed.

There are partial solutions that use a substring approach, but none 
type-aware that I know (for instance Emacs has C-M-/ that is really 
helpful in practice, the Perl plugin for Eclipse does some completion 
as well).

Am I missing some sophisticated code analysis that allows conventional 
code-completion?

-- fxn




More information about the Python-list mailing list