Whenever I create a folder from Windows Explorer or Unity Project tab is it not visible in the Rider Explorer hierarchy. Here is an example:
What happened before?
I created a parent folder named Interaction
with 4 subfolders called Models
, Controllers
, Views
and Installers
. Then I miss-clicked something like Extract
button or whatever, and the subfolders gone.
But I undid that with Ctrl + Z, they returned.
But now new folders are not visible when created from external source.
Opening/closing Unity/Rider is not helping.
Probably you're mixing different things here: first of all, Rider has two different modes for the Solution Explorer:
*.sln
file.When using the File System mode, you should see your newly created folders.
But when using the Solution mode, it's a bit trickier: only folders that contain C# files and are underneath an existing C# project folder are automatically added/displayed.
So if you've created empty folders without any *.cs
files, Rider will show nothing as there is no code to display.
If you want to see the empty folders as well, you could click on Show All Files and add the folders manually - just keep in mind that this will update your *.csproj
file.