What do you want to achieve Use external code editors instead of Roblox studio (prefer vs-code the most)
What I tried
I have tried to use Rojo + Roblox LSP extension to integrate Roblox Studio with vs-code and it was working fine, however, it’s not any close to be “effective”.
There was no IntelliSense for objects added by me game.Workspace.<No Intellesense here>game.Workspace.Part.<Again no intellesense>, and of course no IntelliSense for values (IntValue, BoolValue, etc…)
(I was completely wrong about this one) Also, I’m unable to edit anything other than ServerScriptServies and Player/StarterPlayerScript which is very bad, I can’t edit scripts inside parts, GUIs, ServerStorage
And when I try to add a script from Roblox Studio I don’t see it in vs-code (works the other way only)
I was a Unity developer before, and how it used to work was: double click the script and automatically open the chosen code editor; See all folders/services in the code editor explorer window but can’t open anything other than scripts, I think objects and parts were represented in .json format. Can I achieve so in Roblox Studio? Also I really really love vs-code but if there is no way to make it work with vs-code then I’m fine with changing my code editor if it can integrate with Roblox Studio
(Also if you are wondering why I don’t want to use Roblox Studio it’s because it’s missing a lot of features like multi cursor editing, smart variable refactoring, auto-format, extensions that can help with scripting, etc… and aside from features other code editors look much more beautiful than RBLX Studio which makes scripting funnier)
Summary: Unfortunately, I think Rojo & Roblox LSP is the best we are going to get for a while.
I would also love to be able to use code editors like vs-code whilst editing my scripts, but it is the same for me, the intellisense just isn’t good enough. There are intellisense plugins you can get for vs-code, yet none that I have found are as good as the Roblox Studio code editor’s. Honestly, I’m surprised we haven’t seen anything good enough yet. It would be great to see this improve in the future.
There was no IntelliSense for objects added by me game.Workspace.<No Intellesense here>game.Workspace.Part.<Again no intellesense> , and of course no IntelliSense for values (IntValue, BoolValue, etc…)
Not true, I’d suggest having a read of rojo’s documentation. I’d also recommend against putting scripts inside of GUI and definitely against putting scripts inside of parts and other Workspace descendants.
If using rojo encourages you to use better practice then maybe that’s a good thing. You should be looking to use LocalScripts in StarterPlayerScripts, StarterCharacterScripts and ReplicatedFirst, and Scripts in ServerScriptService with client or shared modules in ReplicatedStorage and server modules in ServerScriptService, or having the modules as descendants of the script they are required by.
That will enable you to engage with rojo a lot more easily.
Regarding intellisense, unfortunately that’s not possible outside of Roblox right now. There is no good method to check the paths and what instances or properties they resolve to in a way that’s quick enough to provide meaningful intellisense suggestions.
Look for existing feature requests that match what you’re after and give them support and add to their use cases if you feel you have more to add to ensure Roblox see it’s a feature people want. If a feature request doesn’t exist for the functionality you’re after, create one!
Hi, thanks for your reply; If this is the convention then I’m going to stick with it. But this wasn’t the main problem anyway, it was with the intenseness and it looks like there are no answers
I have searched a lot in roblox devforum and scriptinghelpers.com but all I found was people asking how to integrate both, but I didn’t find anyone asking how to have a better intenseness and read paths (or few unanswered posts) and that’s why I created this post
Edit: Actually the Intellesense problem was fixed because of @Jxl_s suggestion