Does PyCharm support AnyEdit Tools
I currently use LiClipse and one of its draws is AnyEdit tools. I really make hard use of that in Python to keep evil tabs at bay, remove trailing spaces, and ensure all lines are ended properly. I've been playing with PyCharm a while, and it's nice and fast, but I really need the AnyEdit capabilities. Maybe I've missed them somehow.
...Thanks,
...Ken
请先登录再写评论。
Hi, all of this is done by the code formatter: https://www.jetbrains.com/help/pycharm/reformat-and-rearrange-code.html
Sorry, not the same. I only want to replace tabs with spaces, make sure there is a newline at the end. I don't want to mess with code formatting unless manually invoked.
New line at the end can be configured in [Preferences | Editor | General | On save]
All other formatter settings are configured in [Preferences | Editor | Code Style | Python], including tabs to spaces formatting. You can configure all aspects of the formatter so that code style is set to your liking.
Unfortunately, it's not possible to replace tabs with spaces without invoking the formatter.
I'm not familiar with AnyEdit, but if it can be invoked from the CLI, then you can add it as an external tool