[VSC] Requiring support installing Rojo

I’m attempting to move over to Rojo in aims to use professional resources, and one of those resources is Visual Studio Code. I’ve installed the Rojo extension and plugin, for both studio and VSC. I don’t see much guidance on the Github, what should I do?

If you can offer assistance, please do.

Edit: I realised this seems vague, precisely I cannot connect Rojo to Studio.

Edit of an edit: I’ve found the solution, I just found a button which asked me to reinstall Rojo, weird.

3 Likes

In Visual Studio Code, use CTRL + Shift + P, and search for Rojo: Start Server to start Rojo.

If you want to stop Rojo, use CTRL + Shift + P again in Visual Studio Code and search for Rojo: Stop Server to stop Rojo.

How’d I get this file?
Sorry if this seems tedious.

Can you show me the default.project.json file contents? I could help with that…

{
  "name": "OOP Practice",
  "tree": {
    "$className": "DataModel",
    "HttpService": {
      "$className": "HttpService",
      "$properties": {
        "HttpEnabled": true
      }
    },
    "Lighting": {
      "$className": "Lighting",
      "$properties": {
        "Brightness": 2.0,
        "Ambient": [
          0.0,
          0.0,
          0.0
        ],
        "GlobalShadows": true,
        "Outlines": false,
        "Technology": "Voxel"
      }
    },
    "ReplicatedStorage": {
      "$className": "ReplicatedStorage",
      "Source": {
        "$path": "src"
      }
    },
    "SoundService": {
      "$className": "SoundService",
      "$properties": {
        "RespectFilteringEnabled": true
      }
    },
    "Workspace": {
      "$className": "Workspace",
      "$properties": {
        "FilteringEnabled": true
      },
      "Baseplate": {
        "$className": "Part",
        "$properties": {
          "Size": [
            512.0,
            20.0,
            512.0
          ],
          "Anchored": true,
          "Color": [
            0.38823,
            0.37254,
            0.38823
          ],
          "Locked": true,
          "Position": [
            0.0,
            -10.0,
            0.0
          ]
        }
      }
    }
  }
}

Instead of executing rojo serve in the src folder, go back one folder and execute it? I think the default.project.json file isn’t in the src folder…

Use cd .. to go back one folder, then execute rojo serve.

Apologies if I may have confused you.

1 Like