Why do people use VSC and Rojo

Hey developers,

I’ve recently heard people use other code editors like VSC to program instead of Roblox Studios code editor. Are there any particular benefits to this or is it all just preference?

Thanks!

I personally use it because I already have Github Copilot, and also it allows me to sync with a remote repository so I can keep track of changes. Also, there’s extensions that can help with certain workflows, such as the Knit + Roblox LSP which allows autocomplete to suggest service/controller methods.
I also just generally prefer the custom themes that the VSC community has, and I’m used to alt-tabbing between two windows when programming now because of how versatile VSC is.

sorry to bother you again but what do you mean by " autocomplete to suggest service/controller methods"

1 Like

It’s no problem!

For example (in this project I have open right now), I use Knit to handle server and client communication. When I start writing code that communicates with a Service (ModuleScript on the server), I first define the variable that will hold the reference to the Service at the top. Then, I get the reference when KnitInit() is called. This is standard for Knit controllers.
image
image

What the Knit + Roblox LSP extension does is looks for the script I’m referring to (somewhere else in the project folder), and then returns the data that autocomplete can use. I know this because I can Ctrl+Click to open that very script.
image

So for example, when I want to call a method from that Service, instead of having to look back to see the method name and parameters, it shows me all of that, just as if it was a module defined using require().

If I was using the generic Roblox LSP extension, it wouldn’t know what Knit.GetService() returns.
I’m not the best at explaining but I hope that clears it up.

2 Likes

Also allows for version control

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.