Tab Key Configuration in MPLAB® X IDE

Last modified by Microchip on 2024/06/24 06:31

From the main menu select Tools > Options.

drop down menu for the tools

Select the Editor icon editor.png along the top of the window.

dialog window for tools options

Select the Formatting tab. This is where the global tab options are located. However, if you are programming in C, the C language-specific settings by default will override any selection made here.

Continue to the next step if you are programming in C.

formatting area of the tools options dialog

Immediately under the Formatting tab, select C in the Language pull-down box

tab setting area of the dialog box

Tab settings for C language files are found under the Indents category in the properties grid on the lower left of the window.
You may instead choose to uncheck the Override Global Options box to force C to use the global options under All Languages.

C language settings area of the dialog box