How do i use vs code with roblox?

i tried to setup vc code but im confused of what to get now.

i tried these 2 tutorials but im not sure witch method is correct. the youtube method seems to have less but i dont know if thats better. can someone please help?

1 Like

https://rojo.space/docs/installation/

after you’ve installed rojo–just make something!

1 Like

i have it. how do i sync my stuff or make it work?

use the rojo plugin in studio and start the rojo extension in vsc

how do i get localhost? its asking me for it but i dont know what it is or how to get it.

Its asking for the port on your device’s local ip on the network so it can transmit data between the roblox client and your visual studio client.

Are you using the Rojo extension for Visual Studio Code, or the Rojo CLI tool?

Try watching this for a visual tutorial. Install/Setup new Rojo Project with Roblox Studio - YouTube

ill watch it. also will this allow me to edit stuff that is on a game with team create? i want to use it on a game thats on group not my account.

also the tutorial i used just gave me links to get thestuff into cscode. i hit it and vscode opened a page and i hit install and done.

GitHub - rojo-rbx/rbxlx-to-rojo: Tool to one time convert Roblox places to Rojo projects my main issue with the tutorial is they dont explain what to download from this or how to use it.

ok just don’t use the CLI. use the visual studio code extension.

ALL of the steps you need will be presented to you by reading the Details page or any windows that pop up.

I have never used rojo and I have set it up correctly myself.

1 Like

no window ever poped up. it says theres a connect thing thatll pop up but theres no way to get it. im getting really tired of this if i cant get it to work by the end of the day im just gonna delete vscode. ive wasted so much time on this already.

its a less than 60 second process. (took me less than 60 seconds!)

  1. install the extension.
  2. read the extension’s details page so you know what to do.
  3. you have read the details page so you should know that ctrl + shift + p opens the command window and typing >rojo: Show welcome screen will open the welcome screen.
  4. after opening the help screen you read it and find out that you need to install the Rojo plugin for Roblox. Either manually install it or let the plugin do it for you. I let the plugin do it for me.
  5. now I open a folder on my machine, go back to the commands tab and type rojo: Initialize.
  6. after initializing. I press the “START ROJO” button in the right corner of my screen in visual studio code.
  7. go to studio and click the rojo plugin icon and make sure your ip and port are identical and then connect if so.

here is video tutorial since u have had an issue with reading the instructions. 2021-07-02 17-51-22

nope doesnt work.
image
image
i followed everything.

do you have a folder open in vsc

no i dont even what folder i use.

you make a folder that you want to put the source code for your project inside. then open it in visual studio code.

image


image
image

oh. ok im probaly not even gonna be able to use this on my game then. if i have more than 1 person working on it i cant do it then. plus i dont know how to export the game. atleast not the source code into a folder

it also will not let me run initialize. it refuses to do so.