There are many coding conventions for each programming language. Some programming languages suggest to use two spaces to indent the code and other sites suggest to use tabs to indent the code. This plugin supports indent changing. It can convert from one style of writing to another. It can be used to make code easier to read and supports shortcut(Ctrl + Alt + i) to change quickly. Please refer to the installation details below.
Copy the files indent.py and indent.plugin to ~/.local/share/gedit/plugins and restart gedit. Select the plugin in Edit -> Preferences -> Plugins and activate 'Change Indent'.
gedit-indent Plugin is available under the terms of the MIT License.