Tabbing uses spaces with python
-
Whenever I try to tab in a python document, it instead places 4 spaces.
I know that spaces can be used instead of tabs but that is what I am accustomed to using.
What I am asking, is how to make notepad++ tab with the TAB character and not spaces -
@felix-vincent
Settings > Preferences > Language has the tab settings, both globally and on a per-language basis (so you would want to change the Python tab setting if you only want to affect Python source code tabs)
-
@felix-vincent
Think hard about doing such a thing.
Industry recommended standard for Python is spaces, not tab characters.If you really want to do it, here’s the UI for changing it that Peter referenced; you’d untick the Replace by space box:

-
@alan-kilborn I have thought hard, I just hate indenting with spaces
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login