Argon - Full featured tool for Roblox development

Yeah, you are right that’s the solution to this problem. I couldn’t believe it was so simple so I tested it and yeah it indeed only happens on Windows. That’s very bizarre though, I don’t think Roblox Studio should differ this much between OSes.

Will release the fix tomorrow with some other UI improvements. Thanks for the help!

2 Likes

the argon init command seems to do nothing in vscode right now

nvm for some reason i need to run vscode as admin

1 Like

can we include non script instances into the sourcemap? I can get lua lsp to include autocomplete for non script instances

Yeah, you can but you can’t do with when serving. When you serve, you could serve with “Generate sourcemap” turned off

And do another Argon: sourcemap with “Include non-scripts” turned on

Thank you so much, it was solved!
I love this plugin and appreciate the development effort.

1 Like

I try to migrate my existing project to Argon.

Now I need to save .rbxl on my laptop then run start build.rbxl from console. However, ther’s an error on one of plugin:

You must publish this place to the web to access DataStore.

Any idea when using Argon so I can use datastore (maybe local datastore?) so I dont need to publish place to Roblox?

Local datastores aren’t a thing, you have to create your own data while testing. For datastores, you have to publish the place and enable datastores. (It isn’t related to Argon in any way)

I really love this open source. It is really helpful for my future projects. Keep up the work! :sparkling_heart:

1 Like

I believe I found a bug where when using wally-package-types it always asks me to wally install, and when using the extension it doesn’t ask me and overrides my Packages folder.

Hello, i recently moved from rojo to argon because i love the features that argon has to offer, i followed the porting guide on the website where i change the settings of the sync to the client and it works!. However, when i switch it back to the server to sync up so i can use wally, an error appears

Is this a bug or is there no way to go sync to server so i can use wally?

(argon error - Clipped with Medal.tv)

The Argon VSCode extension is not functioning as expected. Any actions taken through the extension don’t result in any changes. I attempted to download Argon via Foreman, but it still isn’t working. I’ve been using this extension for a while, but after performing a system reset, nothing seems to be working as expected. I have the extension in roblox studio.

Edit: This happened on all my friends devices too. I was able to use argon but only through the cli which is a bit tedious

I’m encountering a small hiccup that deals with assigning the right types to required module scripts, and I’m wondering if the issue is fixable.

So basically, because of the way that VSCode represents scripts that has another script(s) as a descendant (with said script showing up as a folder), when I require these scripts, types aren’t defined properly because the language server thinks that what I’m requiring is a folder. I’m wondering if there is a way aroudn this, and if it’s possible for the types to be properly inherited from the module.

I apologize if I misused terminology or if my question is ignorant, as I’m not the most knowledgable on using VSCode or tools outside of Roblox Studio. Though I’m still a bit new to it, I’m loving Argon. It’s extremely easy to use, especially when porting an existing game from studio into VSCode.

Will look into that when I get a chance. As for the second part, prompts are not supported by extension yet so the default option is selected. I plan to implement it in version 2.1 which will be released sometime this year.

1 Like

Syncing from the server should work just fine.

I get this error when trying to open your link:

{
  "httpStatusCode": 403,
  "errorId": 41,
  "errorMessage": "Your origin is not allowed for this endpoint",
  "additionalInfo": []
}

could you update it?

You need to run VS Code as an administrator.

This is a known issue and will be resolved soon. Sorry for the inconvenience but this problem only occurs only for some users and was hard to locate.

1 Like

It sounds like an LSP issue, which one do you use? Luau LSP works just fine and is recommended. Not sure about Roblox LSP.

I’ve updated the link, weird that it didnt work. Had to seperate it from roblox making it an external media. The link should work now

Yeah I’m using Roblox LSP, but I’m not concerned about the issue anymore, I decided to just stop having scripts being descendants of other scripts. Though I’m glad that I know a potential solution to the issue, and I appreciate your response. Thank you.

Thanks, looks like the problem is caused by one of the libraries Argon uses. I’m going to upgrade it to the latest version later this week and see if it helps. This issue is likely triggered by one of the “new” (introduced during the last year) instances on your filesystem, could you confirm that?

Roblox LSP has worse intellisense and less features, so you’ll probably have less issues in general with Luau Language Server.

You have to enable the studio plugin in settings

1 Like