File | Settings | Languages and Frameworks for Windows and Linux
IntelliJ IDEA | Preferences | Languages and Frameworks for macOS
Ctrl+Alt+S
When you select the Languages and 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 Manage plugins.