Skip to main content

How To Change Tab Size and Indent in PyCharm

Submitted by admin on Wed, 12/08/2021 - 13:01
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.
Tutorial Category