How To Change Tab Size and Indent in PyCharm

The default tab size and indent in PyCharm is 4.
But you can change this value from settings.

Open PyCharm Settings

Open PyCharm settings from:
File -> Settings..

Navigate to:

Editor -> Code Style -> Python

Here you can change the tab size and indent for Python language. Similarly, you can change for HTML, JSON, XML, YAML and other files.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *