IDE Rider and DOTS API

Tearing my hair out with VS and Mac and was wondering if anyone could give me some input on how Rider is with DOTS API.

Thanks in advance

I would assume quite good given that the Unity team uses it.

On mac ?, VS is great on pc but man it can be an anchor on mac

I am using rider on Windows and Linux. It works great with DOTS, because it can go to definition (f12) and find usages in packages. Actually you can browse packages like your own code. It supports DOTS debug views and jobs debugging (without Burst). AFAIK Rider has trial version. You can check it for yourself.

1 Like

Ive been using the trail for a week and have to say wow!! Please add cool Rider tips and tricks , feels like there is so much more to discover !!

Double shift :smile: And map folding\unfolding code blocks by level, very convenient thing.

ahhhh yeaaa … Like it

Sorry, you have to map this to a Mac yourself:

Some stuff you probably not know when coming from other APIs:

  • Postfixes, eg myObjects.for TAB → creates for loop over myObjects array/list; there also is foreach and if (and others) eg isVisible.if creates if(isVisible){}
  • ‘Live Templates’: easily created yourself in the settings. Some simple ones you may redirect to your desired functions: log, logerr, logvar, logwarn, asrt (assert), asrtn(assert null)
  • AWSOME: Some Live Templates can be used to surround existing code: select code, type ‘if’ → TAB → code is reinserted in an if branch and condition is marked for typing. Same goes for try → try/catch, catch is selected for typing; tryf → try/finally, finally is selected for typing
  • A lot of stuff, like renaming something or chaning a function signature, can be refactored by simply doing it and the hitting Alt->Enter and selecting ‘Apply rename refactoring’ or ‘Apply change signature refactoring’.

Look at the tutorial projects shown to you when launching Rider

Alt Enter seems like a magic

Stupid question but what is this button that looks like an 2005 Mac book pro in the rider shortcuts.

5312943--534105--Screen Shot 2019-12-24 at 10.43.28 AM.png

(On windows) For Pycharm & Rider I set always set commit to Alt + C and ‘go to definition’ to middle mouse, bit more convenient than F12. If your mouse has forward/back buttons you can quickly switch between definition and where you were previously. Alt + Enter can also add missing interface methods for you.