[Python] Replace spaces with tabs?
-
Hello,
Unless I missed it, I saw no item in the menus to convert Python code so that it uses TABs instead of spaces — I know, but I prefer TABs.
Is there a plugin or some other solution?
Thank you.

-
@Shohreh said in [Python] Replace spaces with tabs?:
Unless I missed it, I saw no item in the menus
You missed it.
Edit > Blank Operations > Space to TAB (Leading) (see User Manual entry for details)

Also, if you want python to always use tabs for indentation, Settings > Preferences > Indentation:
Pythonand set Indent =Tab character(see User Manual > Indentation settings for details):

-
@PeterJones Thanks much for the infos.
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