JetBrains Rider workflow

Hi there, I have a simple question. Is it possible to set up a workflow for writing custom scripts using JetBrains Rider? The ā€œOpen Workspaceā€ feature of the Export Info object does not suit my needs for this reason. Because the src/scripts directory lives outside of the Unity project hierarchy, Iā€™m having difficulty even getting to the basics of writing new functionality in TypeScript coming from a standard Rider-integrated Unity scripting workflow on macOS. The documentation says ā€œjust create a new .ts fileā€ but thatā€™s only part of the process.

I would appreciate any tips someone could give me as an absolute beginner to Needle. Thanks!

Original Post on Discord

by user 351591209916956684

Hi, im user Rider on a daily basis for Unity / C# dev mainly and vscode for the webdev part.

vscode makes it easy to save a workspace file in a directory and open the default application using that.

With Rider you could perhaps open the folder e.g. as an external directory to another/existing solution for getting started.
That being said perhaps we could add an option to open the folder with the default Unity code editor (whatever you have setup in Unity) but I would have to try that, so far you are the first one to ask about this.

Hi, Iā€™m adding an option to open with the default Unity editor in the next version (by default Open with VSCode will be ticked but youā€™ll be able to untick it to attempt to open with rider or visual studio)

Awesome! Thanks Marcel.

by user 351591209916956684

@marcel :cactus: I think something broke in the latest updateā€¦ I get stuck on ā€œWaiting for local server to startā€ when I try to play my project. The version I was on previously is working correctly still (3.2.9-exp)

by user 351591209916956684

browser tab never opens, says port 3000 is already in use

by user 351591209916956684

Does that go away when you restart the machine? It sounds like there may have been two conflicting servers running on the same port - if you can reproduce that would be great to know!

Hi, you also usually get the ip or localhost address logged in the console along with the message so you can just open that address in the browser. Have you tried doing that?
If it doesnt help try what Felix suggested and if the issue still persists please let us know