Hello so, currently I’m looking to switch programs for scripting. I’m thinking about trying out “Visual Studio Code.” I checked it out and it seems real cool and laid out alright.
Mostly am just going to be using it to write out and get more comfortable with C++ and hopefully get used to other languages to script out my own game (As in App Store/Google App Store). Lua generally to make more games on Roblox. Any suggestions or feedback will be greatly appreciated.
I like Atom better than VSC. It has a better UI (in my opinion) and there’s a lot of handy plugins just like in VSC. You can also create custom bindings that make writing code a lot easier/faster.
That said, personally I’d just stick with using Roblox Studio. While yes, plugins like Rojo can help and I know there are teams which use it fully, I’ve just found in my experience it’s far easier to just stick with Studio. Yes, VS Code is very easy to use in general, but since Roblox doesn’t officially support it, you’re forced to rely on plugins which don’t always support the set of features of you need, are inconvenient to use and set up, or are limited in what they can do. It’s easier to work with the Roblox datamodel within Studio itself.
That said, for C++ VS Code is a solid choice, though there’ll be a bit of setup involved if you’re on Windows. I’d recommend looking into getting WSL as I’ve found that’s a bit easier than trying to get C++ working on Windows well, especially for command line interfacing.
Roblox Studio uses a specific adaptation of the lua codebase, named ‘Luau’, which you can download for Visual Studio Code at this link. Setting it up is fairly explanatory, and serves as a playground for Roblox programming outside of Roblox Studio.
However, if you are looking into another programming language, I would definitely recommend learning JavaScript or node.JS, as it has many web applications for Roblox (Since we are on the Roblox devforum), as well as webhooks and api applications. Additionally, it is quite similar to Lua, as a light-weight programming language.
Though, if you are just looking for general Roblox scripting, I would stick to Roblox Studio, as it is the most relevant.
I think there’s been a minor misunderstanding due to a mistype on my part. I was on mobile and didn’t realise I said Visual Code. I mean Visual Studio Code, the code editing program. You can only use the built-in script editor in the actual Roblox Studio program if you want to edit in Studio.
However, with the use of tools such as Rojo, you can edit in an external program and via a local web server and plugin it then syncs this to scripts in the game.
Additionally, when developing plugins or modules that you want to be used in multiple games, there isn’t a need to create these directly in Roblox Studio, especially when prototyping and testing a plugin before wanting to upload it properly. For this, I use Visual Studio Code.
But yeah, I meant the program Visual Studio Code - sorry for any confusion.