Want to write my game's scripts in vs code and sync them into studio. Installed the plugin but I'm lost on the project file and the serve command. Any simple walkthrough of the first setup?
for an existing game: rojo goes from your files into studio, not the other way round by default. so if you already have scripts in the place, copy them out into the project folder once, check they land where you expect, and from then on only edit in vs code. editing the same script in studio while rojo is syncing is how people lose work.
install rojo through rokit (aftman works too), then run rojo init in an empty folder. add the Rojo extension in VS Code and the Rojo plugin in Studio - they need to be on matching versions or it just refuses to connect. run rojo serve (or start it from the extension), then open the plugin in Studio and hit connect.
if your scripts don't show up where you expect, it's almost always default.project.json, that file decides where each folder lands in the game tree. also grab the luau-lsp extension, otherwise vs code has no idea what game or workspace is and you get red squiggles everywhere.