@kiranr
Roblox Oct 16, 2026

how do you set up rojo with vs code for roblox?

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?
1

Leave A Reply

Log in to post an answer.

1 Answer

jame_arcade Oct 21, 2026
kiranr
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.