File | Settings | Languages and Frameworks for Windows and Linux
IntelliJ IDEA | Preferences | Languages and Frameworks for OS X

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.