Remove and Sort Usings in Rider
Rider has an "Imports Optimization" feature with various configuration options, but I could not get it to work similarly to VS2022. I want it to only remove unused usings and sort them alphabetically, without automatically updating or adding unwanted usings/aliases.
How can I achieve this in Rider?
Please sign in to leave a comment.
Hi Tranvinhnhan!
Could you please add some information to better understand the case? A screencast of how your code looks like before and after calling the action will be very useful.
Also, which Rider version do you have, and how exactly do you call the Optimize Imports action?
Thanks!