I'd say VSCode is one of the best optimized/built Electron apps out there. The team cares a lot about performance and weird edge cases.
I vastly prefer using Vscode if I need some IDE-esque features over something like IntelliJ these days, even if the latter is more "powerful" in terms of features.
I'm sure they need some native platform APIs to enable entering multi-line code blocks.