Notepad++ indentation messes up

前端 未结 6 675
灰色年华
灰色年华 2020-11-30 01:55

I\'m coding in Python and I really like Notepad++. However, off late when I use tab to indent, it seems fine in Notepad++, but when I run the program I get an indentation er

6条回答
  •  执笔经年
    2020-11-30 02:21

    There is no universal tab size, so I always make sure to replace tabs by spaces (so you know what you see is what you get everywhere else as well)

    Go to Settings -> "Preferences..." -> Language Menu/Tab Settings and check 'Replace by space'

提交回复
热议问题