Automatic indentation for Python in Notepad++

Automatic indentation for Python in Notepad++

This is what you want:

Settings > Preferences > MISC. > Auto-Indent (checkbox)

Sometimes people ask, How can I do x in program y?

I have a dream that one day Use program z instead will not be the most popular response.

I played a bit with python in Notepad++ and I had a problem with the tab.
Since in python your indentation is really important but notepad ++ put space instead of a tab.

So to change to tab you need to go in notepad ++ Menu Settings > Preferences… then select Tab Settings Then select python in the Tab Settings box and uncheck Use default value and check Replace by space.

Like the other answer, you might want to consider another ide.
I personally use eclipse with the pydev plugin and django plungin.
Erik is nice too.

Automatic indentation for Python in Notepad++

I found the Python Indent plugin on the official plugin page, and it worked fine!

http://docs.notepad-plus-plus.org/index.php/Plugin_Central#P

Leave a Reply

Your email address will not be published.