Db2 for IBM i tools provides SQL functionality to VS Code. Currently in preview.
As of 0.3.0, the Db2 for i extension requires a server component. The component provides improved performance and makes it easy for us to add better features. This extension will manage the server component installation when you connect to a system with Code for IBM i and will ask the user to confirm any installation or update. The server component is also open-source.
Building from source