File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Jython/Python and the fly likes Jython / Eclipse / PyDev - question about intellisense Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Jython / Eclipse / PyDev - question about intellisense" Watch "Jython / Eclipse / PyDev - question about intellisense" New topic

Jython / Eclipse / PyDev - question about intellisense

mike rodent

Joined: May 25, 2011
Posts: 2
Dear all,

Just discovered Jython (having come via Java but not Python). Very excited. Am following the "Definitive Guide to Jython".' target='_new' rel='nofollow'>Here, - section 11.13, voice synthesis experiment. To get it to work with FreeTTS which I downloaded I had to change the line here to

... and it ran... and a noise came out. Wow.

The one thing I'd really like to know about here is this:
when you type "VoiceManager." in Eclipse, having installed PyDev, the intellisense suggests "getInstance()". However, once you select that, and then add a ".", and even if you go "Ctrl-Space", you *don't* get the intellisense suggestion of "getVoice()".
Obviously in a similar situation using Java / Eclipse, you *would* get this intellisense suggestion.

But it's not clear to me whether this is inherent to Jython (i.e. what I would call a "problem" with Jython) - something to do with dynamic typing (which I don't know much about yet BTW)... or is this an insufficiency which is down to Eclipse / PyDev (and hopefully therefore something which might be put right in the future)?

chris webster

Joined: Mar 01, 2009
Posts: 2296

Sorry, no idea about the answer to your question, but thanks for pointing me towards the Definitive Guide to Jython!

No more Blub for me, thank you, Vicar.
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

didn't test w/ VoiceManager but have been using my own classes.

Only works if both interpreters (Jython & Python) have been configured correctly...
I agree. Here's the link:
subject: Jython / Eclipse / PyDev - question about intellisense
jQuery in Action, 3rd edition