JetBrains: Create JS→Java bridge
Created by: vdavid
Problem
There is no native sophisticated way to call Java from the JS and get data back.
Solution
Use @philipp-spiess's and Paul's prototypes to create a bridge that can be called from the JS side with a simple function call and a type-safe, Promise-based interface, and get data back.