File | Settings | Languages & Frameworks for Windows and Linux
IntelliJ IDEA | Preferences | Languages & Frameworks for macOS
Ctrl+Alt+S
When you select the Languages & Frameworks category in the left-hand pane, its main subcategories are listed in the right-hand part of the dialog.
If the necessary language or framework is not on the list, you can add its support by installing a plugin. For more information on how to install plugins in IntelliJ IDEA, refer to Install plugins.