[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:
Python
and set Indent =Tab character
(see User Manual > Indentation settings for details):
-
@PeterJones Thanks much for the infos.