Argon - Full featured tool for Roblox development

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.

2 Likes

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

I apologize for the delay, i was busy with school and others stuff, what do you mean by new instances on my file system? My folder only has json files from rojo and scripts

(also meanwhile i have switched to rojo because i need to script)