0





52

Advertisement

How can I change indentation in pycharm to only 2 spaces instead of 4? My team follows the pep8, but chose to use 2 spaces instead of four, and I can't find anywhere to change it.

Question author User3307629 | Source

Advertisement


0


File -> Settings -> Code Style -> Python (or "General" for all text files) -> Tabs and Intents (tab).

And there is a search tool in the top left corner of settings window. You can use it to search any IDE setting.

Answer author Ilia-kopylov