First time here? Check out the FAQ!

Ask Your Question
1

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

asked 5 years ago

Algebear gravatar image

updated 5 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 5 years ago

ortollj gravatar image

updated 5 years ago

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: image description

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

Preview: (hide)
link

Comments

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!!

Algebear gravatar imageAlgebear ( 5 years ago )

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.

ortollj gravatar imageortollj ( 5 years ago )

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

Algebear gravatar imageAlgebear ( 5 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 5 years ago

Seen: 1,374 times

Last updated: May 14 '19