PyCharm - how to rename all identifiers in project to snake_case automatically?

Viewed 1277

I have a pretty large project in Python (little over 3000 lines) and unfortunately, the syntax doesn't respect PEP8, which is needed now. I'm looking especially for the way of renaming all the functions from camelCase style to snake_case style.

So far I've only found this answer, which rejects the possibility of renaming all variable automatically in PyCharm and suggests doing it manually, which I don't want to because there are thousands of variables in the code.

So, is there a way, how to rename all the variables automatically according to the rule above?

I'm not interested in functions/regexes, which do it for one string, I'm really only interested in the "collective" solution.

1 Answers
Related