Which IDE do you use to write code for sage?

1,636 views
Skip to first unread message

koffie

unread,
Jul 18, 2010, 5:51:44 PM7/18/10
to sage-devel
Hi All,

I'm just starting with sage developement and after my first patch I
think it's time to use something more sophisticated then a plain tekst
editor to do the coding for sage. I started this thread so people can
share which IDE's they are using and what they like about it. The
following is a list of things I would like to hear about you IDE. You
can skip questions if you don't like to awnser them.

Which OS does it run on (linux/os x/windows)?
Is it open source/free but not open source/paid?
How easy is it to install?
Does it require manual configuration after installation to be suitable
for python/sage developement? (if so what should be changed?)
What do you like about the IDE? (maybe a small list of key features)
What do you hate (or don't like) about the IDE?

Thanks in advance,
Maarten Derickx

Dr. David Kirkby

unread,
Jul 18, 2010, 6:30:07 PM7/18/10
to sage-...@googlegroups.com

I use 'vi' myself.

Dave

William Stein

unread,
Jul 18, 2010, 6:39:09 PM7/18/10
to sage-...@googlegroups.com
On Sun, Jul 18, 2010 at 11:51 PM, koffie <m.derick...@gmail.com> wrote:
> Hi All,
>
> I'm just starting with sage developement and after my first patch I
> think it's time to use something more sophisticated then a plain tekst
> editor to do the coding for sage. I started this thread so people can
> share which IDE's they are using and what they like about it.

Wow, exactly this thread pops up on sage-devel quite a lot. We need
to make a FAQ page with links.

> The
> following is a list of things I would like to hear about you IDE. You
> can skip questions if you don't like to awnser them.

I use EMACS.

> Which OS does it run on (linux/os x/windows)?

Everything (except the iPhone :-( )

> Is it open source/free but not open source/paid?

Open source and free.

> How easy is it to install?

Trivial.

> Does it require manual configuration after installation to be suitable
> for python/sage developement? (if so what should be changed?)

No, though some people use sage-mode, which is nice and requires more work:

http://wiki.sagemath.org/sage-mode

> What do you like about the IDE? (maybe a small list of key features)

Emacs is awesome in infinitely many ways.

> What do you hate (or don't like) about the IDE?

Lack of something like XCode's "codesense", maybe. Syntax
highlighting can be buggy.

>
> Thanks in advance,
> Maarten Derickx
>

> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

Mike Hansen

unread,
Jul 18, 2010, 10:25:42 PM7/18/10
to sage-...@googlegroups.com
On Sun, Jul 18, 2010 at 3:39 PM, William Stein <wst...@gmail.com> wrote:
> I use EMACS.

+1

--Mike

Alexandre Blondin Massé

unread,
Jul 18, 2010, 11:35:53 PM7/18/10
to sage-devel
> I use 'vi' myself.

Same for me.

Ivan Andrus

unread,
Jul 19, 2010, 12:50:55 AM7/19/10
to sage-...@googlegroups.com
> I use EMACS.

+1

>> What do you like about the IDE? (maybe a small list of key features)
>
> Emacs is awesome in infinitely many ways.

But only countably many ways :)

>> What do you hate (or don't like) about the IDE?
>
> Lack of something like XCode's "codesense", maybe.

This should be achievable with CEDET (included in new versions of emacs) or with pymacs/ropemacs/something else, but I haven't taken time to set it up yet. I'll add a page to the wiki if I ever do and someone hasn't beaten me to it.

-Ivan

john_perry_usm

unread,
Jul 19, 2010, 4:50:32 PM7/19/10
to sage-devel
On Jul 18, 4:51 pm, koffie <m.derickx.stud...@gmail.com> wrote:
> I started this thread so people can
> share which IDE's they are using and what they like about it.

jEdit

> Which OS does it run on (linux/os x/windows)?

anything that runs java

> Is it open source/free but not open source/paid?

open source/free (GPL 2.0), although java has a different license

> How easy is it to install?

pathetically easy

> Does it require manual configuration after installation to be suitable
> for python/sage developement? (if so what should be changed?)

no, but while the syntax highlighting and word completion is for more
languages than you can shake a stick at, it won't do it for sage
unless you put yourself in python mode (imagine that)

> What do you like about the IDE? (maybe a small list of key features)

it's easy, powerful, extensible (you can write plugins, and the JDiff
plugin is superb), graphical (highlighting text is pretty awesome),
customizable, and lots of other buzz words. good hypersearch, regular
expressions, automatic (un)indentation, pretty colors (on my computer
anyway),

> What do you hate (or don't like) about the IDE?

i'm not sure it has a useful debugger; i don't think it would work
with sage even if it did. aside from that, i can't think of anything.
it probably lacks some power tools that something like emacs has, but
i've never used emacs (only micro-emacs) so i wouldn't know. i know my
dad (an electrical engineer) thought that jedit wasn't sufficient for
his own work at the time, but i think he's since switched to jedit
since then actually.

regards
john perry

Amol Ghadage

unread,
Feb 3, 2016, 5:54:56 AM2/3/16
to sage-devel
Hello  Kwankyu 

I just want know how to do sage CRM development?
Means I want to know how to configure jEdit and how to start development and Which programming language used to develop SAGE CRM?
Please answer me.
Thank you in advance. 

Dominique Laurain

unread,
Feb 3, 2016, 3:44:43 PM2/3/16
to sage-devel
Hello Maarteen,

My answer for your questions...and valid for me at my job (computer science engineer) AND at my home (maths hobbyist and sagemath user).

But one point before : I use a kind of IDE since 30 years ....and long time ago, available "IDE" were not same. In 1984 I used Emacs a little (one year) and maybe
the rest of the time, basic UNIX/Linux tools such as : ed, vi, make..

In 2014 I went to Paris for a one week comp.training about CORBA ...and it was the worst experience for me in 30 years : don't know about CORBA (the main subject), don't know about C++ (the generated code), don't know about the IDE Eclipse ... and the funniest, sitting near young engineers clicking at full speed on the mysterious icons.... Lost in translation.....usually they finished work since 55 minutes when I was trying sadly to remember how to roll back one file.

Emacs was and is still powerfull now...long time ago the keyboard sequences were long to remember (CTRL-X CTRL-S)...but text editor was useful with extending capabiliities (LISP language ,...).

I sticked until now to "vi"...because it's an universal UNIX text editor ("ed" the line editor is of not handy nowadays) and usually easy to remember after you have understood the "editing mode" starting with ESC keyboard key and the "command ed line" starting with ":"

The rest of IDE is basic UNIX tools : make, lex, yacc..

OK now my answers :


On Sunday, 18 July 2010 23:51:44 UTC+2, Maarten Derickx wrote:

Which OS does it run on (linux/os x/windows)?

UNIX or Linux
 
Is it open source/free but not open source/paid?

vi runs on many UNIX or Linux systems
it's always free..because part of the operating system tools...if you pay for UNIX or Linux..then sure, you will get it free...with other tools (ls,..)
i used it on HP-UX, AIX, TrueUnix, Linux (Redhat,Centos,Ubuntu..)...

some people prefer "vim" which has a little more advanced capabilities (syntax coloring..)

rest of the "IDE" is usually free too : make, lex, yacc and so on
for compilers, GNU tools are free too : for example  gcc

How easy is it to install?

yes, no extra pain, no extra install
you usually worry when you have to install compilers or linkers or graphics interface tools
 
Does it require manual configuration after installation to be suitable

not necessary, "vi" is so old that usually you only need to know how to set three environment variables TERM (type of terminal), LINES (number of lines) and COLUMNS (number of columns)...and with some comp...you have only to launch an eval resize command to set the last two
 
for python/sage developement? (if so what should be changed?)

since using basic UNIX/Linux tools, setting PATH environment variable is needed...python is a script langage.
 
What do you like about the IDE? (maybe a small list of key features)

a small number of features :-)
edit text
when vi crash, you can recover a release of the file (vi -r)
 
What do you hate (or don't like) about the IDE?

some developers like working with the "click here and the click here"  method in beautiful graphical interface....I am not in that group, more on the
"hit the keyboard ...hit again", using UNIX shell commands

Ralf Stephan

unread,
Feb 4, 2016, 1:18:41 AM2/4/16
to sage-devel
On Wednesday, February 3, 2016 at 11:54:56 AM UTC+1, Amol Ghadage wrote:
I just want know how to do sage CRM development?

You may be in the wrong newsgroup.
(Sage CRM is a CRM, while Sage Math is a CAS)

FWIW I used an IDE for some time but switched to vim because the IDE was too slow.

Martin Vahi

unread,
Feb 4, 2016, 2:28:09 AM2/4/16
to sage-devel

If someone is thinking of DEVELOPING an IDE, then
one thing to look at is the open source

https://www.jetbrains.com/mps/

I haven't used it for anything yet, but
my brief understanding of its documentation
is that it's a bit like "Microsoft Word", except
that in stead of text color the meaning of the
words are entered by the user, who writes the "colored text".
That way there is no need for deriving the meaning of the words
by analyzing their surrounding words by various complex
approaches like the

http://www.antlr.org/

I do not know, how practical that approach is, but
one other open source project is using the JetBrains MPS

http://mbeddr.com/

I do not have a clue, if it helps, but I at least tried to be helpful. :-D

As a side note I say that I've noticed that
software developers, me myself included,
are usually not as good at math as they _should_
and pure mathematicians tend to be at software development
not as good as they could. That seems to
explain a lot of things in this world. :-D

Reply all
Reply to author
Forward
0 new messages