Solution Explorer and Project Model updates in Rider 2018.2 EAP
One of the most religious questions in software development: should the project view a.k.a. solution explorer go left or right? Besides having the one and only answer – detached and fullscreen of course – we would like to introduce you to the newest changes around the solution explorer and project model in Rider 2018.2 EAP. Let’s see.
A new toolbar lets us easily toggle the option to show all files, which will reveal all other files that are not part of the project model (highlighted in brown). The next two buttons allow us to synchronize the solution explorer and editor. Autoscroll to source reveals selected files in the editor, while autoscroll from source selects files whenever we navigate from one file to another:
We will look into the last button a little later.
Open a single project file / open solution from folder
Sometimes we may want to open just a single project file (csproj) that doesn’t belong to any solution file. Previously, Rider was creating a temporary solution for the purpose of showing the project file in the solution explorer. This has now changed, and we show the project as the only item. No more changes on disk!
Rider is now also much more helpful when we need to open a solution from a folder that contains a lot of other files. We can just confirm to open the folder and if there is any solution file in this folder or any subfolder, we will get a dialog to select them:
We’ve also enhanced the way how unloaded projects are indicated. This can help to keep a better overview of manually unloaded projects or possibly fancy project types that cannot be loaded in our current environment:
Different views: file system and scratches
Probably also long-awaited, Rider 2018.2 EAP introduces the file-system view in addition to solution view, which shows the actual file-system structure underneath our solution file. By the way, items marked with no index are excluded from index-based features like global text search or todo indexes. Also, for some of us, the file-system view could be the opportunity to get rid of solution folders, which are not automatically updated:
Speaking of view modes, we’ve also merged the scratch view into both, solution and file-system view, which allows easier access to recently created scratch files:
And here is a pro tip: not only does Rider’s navigation view allow us to open a terminal for any folder we right-click, it also supports drag & drop onto the terminal tool window:
Recently, we’ve added a dialog to configure custom file nestings much easier. They are working with SDK-based project files and the older format equally without any further requirements. For instance, we can define that files ending with .ref.txt should always be nested under their belonging files (same base name) ending with .json. With Rider 2018.2 EAP, file nestings can also be applied by using drag & drop from the file that should be nested to the new parent file.
Other solution explorer improvements
In the last versions, Rider sorted items in the solution explorer always by name, no matter what type they were. With the latest version, there is an option to show folders always on top, which might be a more natural presentation for some of us:
Last but not least, Rider 2018.2 EAP adds support for Python project files:
We are looking forward to your feedback on our recent feature additions.
Subscribe to Blog updates
Thanks, we've got you!
Another Look into the Future with Rider’s Predictive Debugger
In the 2023.2 release cycle, we’ve introduced the Predictive Debugger in ReSharper, which gives you predictions about code paths and variables beyond the current execution pointer. We’ve written extensively about its advantages compared to alternative debugging strategies like thorough thinking, log…
Visualize Entity Framework Relationships and Additional Query Analysis in ReSharper 2023.3
A lot of teams are using Entity Framework or EF Core to work with their database. As an Object-Relational Mapper (ORM), it bridges objects in code to a relational database model, so that as a developer you don’t have to worry too much about the actual database. We all know: that’s not entirely tr…
Automatically Analyze ASP.NET Core Performance With Dynamic Program Analysis
Slow web pages may make your users or customers abandon your web application, even before they’ve had a proper look at it. You’ve likely also been frustrated working with a web application that is slow to load. The good news is that the latest versions of ReSharper and JetBrains Rider’s Dynamic P…
OSS Power-Ups: MassTransit – Webinar Recording
The recording of our webinar, OSS Power-Ups: MassTransit, with Chris Patterson, is available. This was the thirteenth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.…