Argon - Full featured tool for Roblox development

Oh, I literally fixed this bug a few updates ago. I must have messed something up in the meantime.

Gonna fix that tomorrow!

1 Like

Oh I just updated so that might have fixed it. Nvm

Looks like it’s a Roblox bug, so nothing you can do about it. So, will you change the pcall to if for performance?

I will just remove pcall, if statement was still there.

Suggestion
Script defining detection. Like Rojo, would you make it so that it highlights the script path if you have defined your script correctly? So for example:

-- There is a module called 'Information' in ReplicatedStorage
local Information = require(game:GetService("ReplicatedStorage").Information) -- The part inside require(...) will be underlined.

-- There is not a module called 'Information' in ReplicatedStorage
local Information = require(game:GetService("ReplicatedStorage").Information) -- The part inside require(...) will be underlined in orange (or warning color)

Actually Rojo does not have such a feature. One of the Roblox LSP’s features is support for Rojo.

But yeah I already said that multiple times that I have plans to integrate that plugin with Argon:

1 Like

Didn’t know about it, sorry for providing wrong information.

No problem, now you know :slight_smile:

Btw I’ve already finished client side of two way sync, so now I have to write code for server and fix all of the potential bugs.

Yeah, I’ve seen you’ve published the 2-way sync method. I haven’t tried it but I can just tell that this feature is gonna be juicy :yum:

Great plugin! But one little issue is for some reason nothing is being ported to VS code anymore. I used this a while back and it worked fine but now for some reason the “src” file shows up in VS code but nothing gets ported to it when I hit “Port to VS code” and if I try and connect via the normal way nothing gets added/updated within studio

Weird as I’m using Argon rn and everything works fine. Please do the following stuff:

  • Make sure you are running latest version of both plugin and extension (0.3.4)
  • Make sure you are in ignore mode (Settings → Class Filtering → select “Ignore”)
  • Make sure that directories you are trying to port are synced (Settings → Synced Directories)
  • If you are trying to sync all instances make sure you have “Only Code Mode” disabled (Settings → Only Code Mode)

If nothing changed try tweaking all of the options to refresh them. If problem still persist please let me know!

Thank you! for some reason it was on my end with the Argon plugin I guess it broke and I had to re install it but afterward it works! looking forward for more updates on this amazing plugin

Glad it work for you now! I changed the behavior of some settings, so that could be the reason why Argon didn’t work for you.

A new update that will bring two-way sync will probably be available tomorrow!

1 Like

I am excited for that can’t wait for two-way sync!

Thank you so much for adding the port to VSCode and port to studio feature. Argon is my first actual experience with external code editors and it’s so easy to understand and use, especially with this feature. Thank you and please keep up the updates!

2 Likes

I would use this over Rojo actually because as you can see Rojo hasn’t released a new version for months and the development of Rojo has slowed for some reason. So I would use something new over something old.

1 Like

Argon 0.4.0 (Two-way sync!)

Changes:

  • Added two-way sync (only for code)
  • Added “Launch Roblox Studio” command (VSC)
  • Added “Open In Editor” option (Roblox)
  • Added open in preview option (VSC, settings)
  • Fixed code not syncing when only code mode was enabled and script instance had children
  • VSC extension now utilizes node-ffi-napi to communicate with user32.dll (required to bypass Windows limitation and force editor to open)
  • Many code optimizations

Important!

If you installed VSC extension 0.4.0 please update to version 0.4.2 asap because version 0.4.0 is totally broken! (I forgot to exclude custom dependencies from .vscodeignore, version 0.4.1 was just temporary hotfix.)

Two-way sync

Keep in mind that only code is supported and various bugs may occur as adding two-way sync was extremally hard because of lack of some functionalities in Roblox’s API. Now take a look:

Launch Roblox Studio command

Now you can run Roblox Studio directly from Visual Studio Code!

Open In Editor option

Opening scripts inside Studio will open them in VSC!

Known issues:

  • open in editor option stops working once you quit settings
  • deleting instances in VSC sometimes throws errors in Roblox

I will fix these issues tomorrow because today I’m really tired. Sorry for publishing so glitchy update but I found this bugs when I was recording these demo videos.

4 Likes

Alright, now you’re kidding… How the heck is this even possible? It’s already better than Rojo as it doesn’t even have that many options.

2 Likes

A question, why does it “Install” roblox studioevery time I use the “launch roblox studio” command?

Also suggestion, put the commands into a command? Like “Argon: Options” and then options (or dropdown sort of) comes up with the commands -

  • Launch Roblox Studio
  • Run
  • Stop
  • Update Class Database

There’s some more bugs for example it does not port instances to roblox studio with that have special characters like “%” “!”. For example, when importing Knit.

It shouldn’t work that way, will fix that!

EDIT: Just fixed this problem, only thing I had to do was to add argument “-ide” to string with Roblox Studio location.

I know what you mean Rojo has already something like this. I was thinking about that but wasn’t sure if it’s convenient. But now if you are suggesting I’m gonna add this!

Gonna fix that!

EDIT2: Could you give me some extra information because everything works fine for me:

2 Likes