Developing on VSCode to make a DYC

I’m currently developing some dynamic components inside sketchup using the native tools but I would like to develop with VSCode or some extension that makes it easier to insert the code in the components because I think the native interface of “component attributes” is very bad but I wouldn’t want to do that using Ruby .
Can anyone give me some direction to go or a hint of interfaces for writing code in the component?