Development tools for Zephyr on STM32Workbench for Zephyr: VS Code extension to set up, build, flash and debug Zephyr applications on STM32.Devicetree manager: browse, edit and visualize Zephyr devicetree, STM32CubeMX-like for Zephyr.
Well, the solution is not to use this piece of crap.
Try CLion for this, it's paid, but much much better.
The problems that couldn't be solved for years tells us - "do you this in production project".