As a C# developer on Linux, I wish this was more true than it is. Working on a multi project dotnet solution in VSCode is still far behind Visual Studio / Jetbrains Rider.
Its also worth pointing out that the more you add to VSCode, the slower it becomes. If you add the toolkits to make it compete with Jetbrains products, it isn’t nearly the same lightweight editor anymore.
Step 1: Get tested for sleep apnea. If you have it, snoring is the least of your worries. Don’t skip this step.
Otherwise, sleep on your side, elevate your upper body (Amazon sells wedge pillows).
If you are certain you don’t have apnea, you can also try a chin strap. Just be sure any chin strap you buy pulls your chin up, not back, as this will A: Obstruct breathing, and B: cause major jaw pain.