Select Tools>Options (MPLAB X IDE>Preferences for macOS) and then click the Embedded button, Other tab, to see the options listed below.
Edit the lists of accepted file extensions for C/C++ and assembler source files and header files. Also, set the default extension for each type (displayed as bold).
| File Extensions | Default Extensions |
|---|---|
| C/C++ Header | H, SUNWCCh, h, hpp, hxx, tcc |
| C++ | C, c++, cc, cpp, cxx, mm |
| C | c, i, m |
| Fortran | Not
applicable. MPLAB X IDE does not support Fortran programming. |
| Assembler | AS, ASM, S, as, asm, s |
| Assembler Include | INC, inc |