Reputation: 828
In JetBrains Rider, is there keyboard shortcut to add a new class file? Perhaps with the same popup to name the C# class, then to save in the currently selected/open directory.
Would save many mouse clicks :-)
Upvotes: 10
Views: 11447
Reputation: 10127
To generate new class file in Rider:
This will add the new file in the same folder as the current file.
Upvotes: 13
Reputation: 361
There is no dedicated shortcut for a new class, but you can select a node in the Solution Explorer, press Alt+Insert
, and then pick the desired template from the popup.
Upvotes: 6