• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jython / Eclipse / PyDev - question about intellisense

 
mike rodent
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2407
32
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, no idea about the answer to your question, but thanks for pointing me towards the Definitive Guide to Jython!
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
didn't test w/ VoiceManager but have been using my own classes.

Only works if both interpreters (Jython & Python) have been configured correctly...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic