A better way to understand “using VSCode to build stuff” is to realize VSCode is just a fancy text-editor. Yes you can use extensions like live-server to have VSCode handle more things, but it turns more into “magical VSCode voodoo” than actually digging into how things are working.
So this means if you want to build/run your projects you’ve built on repl.it you need to setup your dev environment on your machine. There are multiple ways to do this, which mainly depend on what you want to achieve. Assuming you want to do full stack web development you will need to do a few things. You also might need to debug why some things are working “differently” as repl.it usually does some “fancy magic” to make things work, which is what we kinda want to get rid of.
So for a full-stack app you usually have the following:
- Setup how you are going to “run” your dev servers (front-end/back-end). Usually these are ran from the terminal IE
npm run start or the like. For windows you can use powershell or cmd, or even git-bash if you have it.
- Setup node.js so you can install/run your dev-servers and get packages.
- run everything and test to see if your local environment works with how you set everything up locally (IE everything is connected)
Each step could be the issue, and understanding each step is required to getting a full-stack app running usually. This list doesn’t include building or deploying the app either.
So yes you can look into live server, but live-server is just part of 2. There’s still the other parts of the setup, and all the details that come with it. This also assumes you moved everything off repl.it correctly and makes a ton of assumptions that everything else is going correctly.
So main thing is that it isn’t VSCode’s job to handle anything and everything, rather its just 1 tool in a bunch of things that you need to have a full dev environment. Such environments can get confusing since your dealing with your computer, however getting it working essentially has you working in a “professional environment”. With professional tools, doing “professional things”, so its totally worth the experience!