aspose file tools
The moose likes Jython/Python and the fly likes Jython / Eclipse / PyDev - question about intellisense Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » Jython/Python
Reply 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: 1103
    
    7

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


ex-Oracle bloke
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
adding an api to eclipse
C++ vs Python
Any suggestions on good jython online tutorials?
This is for Mr Author--Bill
Jython ? what for ?