[WIP] Idea 14 support

This adds support for IDEA 14.