wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Jython / Eclipse / PyDev - question about intellisense" Watch "Jython / Eclipse / PyDev - question about intellisense" New topic
Author

Jython / Eclipse / PyDev - question about intellisense

mike rodent
Greenhorn

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

Just discovered Jython (having come via Java but not Python). Very excited. Am following the "Definitive Guide to Jython".

http://www.jython.org/jythonbook/en/1.0/JythonIDE.html#eclipse' target='_new' rel='nofollow'>Here, http://www.jython.org/jythonbook/en/1.0/JythonIDE.html#eclipse - 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)?

thanks
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1624
    
  13

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: http://aspose.com/file-tools
 
subject: Jython / Eclipse / PyDev - question about intellisense
 
Similar Threads
Jython ? what for ?
Any suggestions on good jython online tutorials?
C++ vs Python
adding an api to eclipse
This is for Mr Author--Bill