Soft tabs (virtual tabs?) Follow
When I write python code I prefer to use whitespace instead of tabs. I like that I can specify the indentation level when I have the editor set to whitespace instead of tabs, however it doesn't respect this setting when using the backspace key. I've been hunting for a setting in the code style section but have not been able to find one that works like this. I'm coming from TextMate and it has a settings call soft tabs that does exactly this (it also shows these characters with hidden characters turned on instead of spaces.) Is this something that could be added to the IDE if it's not already available?
Thanks,
Charlie
Please sign in to leave a comment.
Hi Charlie,
Actually PyCharm has this functionality, but it is only limited to empty lines (strange decision).
However I've created an issue: http://youtrack.jetbrains.net/issue/PY-853
Feel free to vote, comment and track progress.
Regards,
Oleg
I just verified this behavior only works in .py files, but not in .html, .json, etc... In my opinion this really should be a feature that works across all file types if they are set to use whitespace instead of tabs.
However I've created an issue: http://youtrack.jetbrains.net/issue/PY-853
Feel free to vote, comment and track progress.
Hi Charlie,
You'd better create new ticket and post it's link here to make it available for forum searching.
Regards,
Oleg
Here's the link.
http://youtrack.jetbrains.net/issue/IDEA-54131
Thanks!