On Nov 17, 8:35 am, Nathann Cohen <nathann.co...@gmail.com> wrote:
> And is there any known way to have eclipse use auto-completion on Sage
> classes ?
That would probably be tough within Eclipse proper although there may
be another approach...
First, I have used Eclipse successfully with Sage using PyDev and
PyDev Extensions. Running Sage "stuff" from eclipse is really about
using the RPC debugging strategy PyDev supports... which, BTW, is
extremely powerful. Include a library and you can nail up to the
Python process after the fact... across the net if you like.
Although I haven't done this with Eclipse, if I were to undertake this
today I would recommend installing Eclipse / PyDev within Sage. The
eclipse install is trivial... download, unwind, run. Just make sure
the Sage environment is set up before the install and you "should" be
fine.
The biggest trick is making sure the environment is set up properly.
Sage includes a bunch of libraries which can collide with those
installed in Ubuntu (which is all I'm really familiar WRT Sage)...
getting this straightened out can be tricky the first time. I really
should try this as I'm interested whether Java will run properly on
Ubuntu with the Sage libraries... hmmm...
An alternative could be figuring out the environment for python sub-
processes within Eclipse... although Eclipse gets cosmic pretty
quickly as you drill down. The PyDev folks are extremely helpful and
know Eclipse very well... might be worthwhile asking.
As to the auto-completion question - the answer "might" be the same
one I would suggest for VIM fans... which is Eclim.
http://eclim.org/
They build Vim into Eclipse using some kind of server interface to
plug-ins in eclipse.
It might be possible to nail IPython up in a similar way but I'm not
really sure. It might prove to be non-trivial. The simple
alternative is to keep a sage notebook or IPython instance up and
you'll have all the documentation / auto-completion you'll need... not
ideal but workable.
-glenn
>
> Nathann
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---