My cat changed my Rider settings and now code inspection doesn't work

I forgot to lock my screen and my cat sat on my laptop because it’s warm. Rider had been closed down, so I re-opened it and a few things are different.

  1. I can see all the .meta files that used to be hidden although .meta doesn’t appear to be a recognized file type under Settings → Editor → File Types
  2. Errors aren’t highlighted although it says code analysis is enabled under Settings ->Editor → Inspection Settings. Specifically, it says there are no errors in my project even though Unity says my script won’t compile because of an error.

I just updated Rider to a new version too so I’m not sure if that might play into this somehow, but I’d really appreciate any tips on how to revert these two changes. I’ve closed and reopened the editor and I’ve tried turning code analysis off and on again, but I don’t know where else to go from here. Thanks!

5 Likes

For your first issue, it is probably just pressing this button to disable showing all files

For your second issue: Hm, did you open unity alongside, or just rider? Maybe clean and rebuild the solution?

Edit: Btw., I just love your thread title :smile:

1 Like

This is my favorite ever thread title. Thank you.

2 Likes

Dude, that topic title.:smile:
That cat…is a genius.:hushed:

1 Like

I’ve been part of this forum since 2006. Best thread title ever!

2 Likes

Hah! I had to leave town (and my project) for a little bit but I’m back - thanks all for the tips and cat love!

So, for whatever reason, my setup doesn’t look like yours @Johannski

6922841--812222--upload_2021-3-10_17-44-45.png

Yours shows “chunks-unity” where mine shows “Assets”, and I don’t get the same menu items you do. I’m doing some research on my own but I’m not entirely sure even how to describe the difference between our setups.

Apologies if my Rider naivety is showing! My cat is clearly better at this than I am.

Oh, then maybe click the File System Dropdown and select Unity :slight_smile:
6923477--812354--upload_2021-3-11_8-23-5.png

Ah yeah I should have attached a shot of that too, I don’t have “Unity” or “Solution” in that menu.

6926774--812885--upload_2021-3-11_18-26-25.png

Ah I think I see now what your cat did! It decided to open the asset folder with rider instead of the solution file in the parent folder. This way rider is more of a dumb file explorer in a way. So the solution is to open the solution file with rider :slight_smile:

Is this the new “My dog ate my homework”?

1 Like

Lol!:stuck_out_tongue:

Likely excuse! Riiiiight. Blame it on the cat.

Unfortunately, I don’t have any such excuse. My cats never get near my computer. Only a human. Me. :frowning:

For anyone finding this in the future, in my case inspection was behaving weirdly because it had the wrong code style settings activated. There is an action called “Code Style Scheme” and for me it was set to “Default” instead of “”

2 Likes

you saved my life. thanks :frowning: