• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jython / Eclipse / PyDev - question about intellisense

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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='_blank' 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
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 152
VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
reply
    Bookmark Topic Watch Topic
  • New Topic