I currently have VS code open with multiple plugins and a dozen of opened files, and it is using 33MB of RAM. Of course, vi would never use that much RAM, but for the functionnality that VS code offers, I find this acceptable.
Are you sure you're measuring the ram properly? I just opened VSCode with nothing open and it's taking several hundred MB. The main process only uses about 50MB, but it also spawns several Code Helper processes. Some of which use between 50-150MB each.