If you're really worried about that, then use an open-source IDE like Visual Studio Code. If there's rogue code inside that steals your private data, the open-source community will probably spot it. If you are still worried, you can read the code yourself to make sure there's no rogue code...