On Tue, Dec 19, 2017 at 7:30 AM, PHPirate <
holland...@gmail.com> wrote:
> Thanks for the replies, so I would be very interested to run vim or emacs on
> Windows (although I have never heard of any windows user doing so) but since
> you both run a different OS you may not know how to set this up on Windows?
> I'll try in any case later on, I think I should open a separate topic for
> that I guess?
>
> For now, I found some tips at
https://wiki.sagemath.org/Tips about usage
> with vim, and a couple of vim plugins like
>
https://github.com/petRUShka/vim-sage but no complete installation guide. Is
> there one? If not, if I manage to get it work I will write one myself then.
> I really hope I will manage to run Sage scripts from within vim, as the wiki
> hints is possible!
>
> In any case, conclusion for this topic: don't use PyCharm, try vim (or if
> you want, emacs or atom or whatever) instead.
>
> Let me quote Martin Vahi...
> "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"
I should maybe help clarify for you--if all you care about is
*editing* files you don't need a full IDE, you just need an editor.
All an editor does is edit files (though most advanced editors can do
much more, with the proper extensions, such as run code or arbitrary
shell commands). An IDE contains an editor as a central component,
but it also has other development tools built into it like a compiler
front-end, front-ends for build tools, debuggers, etc. (hence
"integrated") rather than running an editor and those other tools as
separate components.
I wouldn't say one way of working is better or worse than another--it
depends in part on personal preferences and how you think, as well as
the type of project. I'd be surprised if any Sage developer uses a
full IDE for anything except maybe if they happen to like their IDE's
editor. This is in part because Sage has so many idiosyncrasies that
a traditional IDE probably won't work too well with it without
significant tweaking as you've found with trying to use it with
PyCharm.
I've personally never used an IDE for Python at all and I don't find
it that useful, but do use an IDE (Eclipse) when working on Java, and
Visual Studio when working on Windows-specific projects.
If you like PyCharm for its editor you can certainly get it working (I
provided instructions on the ask.sage question) to run code as well.
It should be straightforward to set up PyCharm to parse .sage scripts
through the sage-parser before running them with the plain Python
interpreter too. But you might also be just as well off finding a
stand-alone editor that you like.