Authors: Aleksandr Slepchenkov, Frontend Engineer, and Travis Turner, Tech EditorTopics: Developer Products, SDKs, extensions & plugins
This post covers the complex (but rewarding) process of building native language support for JetBrains from scratch. From crafting lexers and parsers to wrestling with soft keywords, PSI trees, and error recovery, this guide walks through the real stuff.
I've been a JetBrains die-hard my whole life, someone who recoils at even the slight thought of using VSCode, and I've even been called a "JetBrains junkie". So, when I learned their IDEs didn't support Luau, I ventured on a quest to build a plugin for it. No matter your language, this post will guide you through the process of adding custom language support to JetBrains IDEs, pains, parsers, and all.