# How to use Notepad++ for SageMath (or using vim)

After some research on this website, I have still not found a nice way to use an the editor Notepad++ for Sage. Is there some nice plug-in for this or do you use another editor for writing in Sage? I can't manually add tabs in Notepad++ because then the code looks awful in Sage since it places (multiple) ^I in front of lines of code. Thanks in advance for any help.

edit retag close merge delete

Sort by » oldest newest most voted

Hi I had to meet this problem, I also prefer to use notepad ++, but when I copied the code in the notebook the indentation was not good.you have to configure notepad ++ like this:

in any case for me it works, tell me if it's ok for you too !.

more

Oh, that makes me so happy! Such a simple solution and this is the end to my endless frustration of trying to manually put the right amount of spaces everywhere.... Thanks a lot!!

( 2019-05-14 21:08:23 +0200 )edit

I take this opportunity to add something that is not well known on most text editors. To add or remove one or more entire columns of characters (example tabs, or # for comments), position your mouse at the chosen location, then press and hold the Alt key and move your mouse vertically (and horizontally if necessary), then type the desired character (s). This also works in the SageMath notebook.

( 2019-05-15 07:30:58 +0200 )edit

I use Ctrl+Q for comment and uncommenting blocks in Notepad++.

( 2019-05-15 17:05:30 +0200 )edit