Alternatives to Addons (VSCode and ESPHome)

Hello,

currently, I am using Home Assistant in a VM.
I would like to switch to HA Container, but I am currently using some Addons, namely VSCode and ESPHome.
How could I keep the nice auto-complete features of VSCode and how can I keep using ESPHome if I migrate to HA Container Installation?

Greetings,
Hendrik