I'm curious as to what the IDE source code looks like

If you prefer TypeScript and JavaScript, you can take a peek at the IDE 2.x source code here: