On Jun 10, 2010, at 3:54 AM, Fabio Zadrozny wrote:

> On Thu, Jun 10, 2010 at 2:22 AM, Glyph Lefkowitz <gl...@twistedmatrix.com> 
> wrote:
> I'd like to start writing scripts for PyDev, but the Eclipse API 
> documentation is not geared for Python users, and nothing I've tried provides 
> autocompletion over the Jython->Java bridge.
> 
> Is there a REPL that I could use for experimenting with eclipse APIs in 
> PyDev?  If not, could someone with a little more experience than me post a 
> script that would do something simple, like "evaluate the selection as Jython 
> code in eclipse, and insert the output into a console window"?  I'm not 
> really sure how to get started; since scripts get re-executed every time, I'm 
> not really sure where to put state, like a persistent namespace.
> 
> Actually, I believe it wouldn't be very difficult to make the pydev 
> interactive console work with the eclipse environment it's working on, 
> although I'd need to take a look at it... the only thing is that it wouldn't 
> have the 'context-insensitive' code-completion (which brings you all the 
> modules and does the auto-import). Please enter a feature request for that...

Done: 
https://sourceforge.net/tracker/?func=detail&aid=3017893&group_id=85796&atid=577332

> Anyways, right now what I usually do when I want to evaluate something is 
> using the pydev scripting engine. There are details on how to develop using 
> it at http://pydev.org/manual_articles_scripting.html .

I'll have to experiment with just reloading the same script over and over, I 
guess :)

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to