You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Is it possible to make some sort of setting, so you could choose what naming startegy will be used for mock fields created by "Fill with Mock" feature? Currently it creates private Mock<Test> test;, but we are using private Mock<Test> testMock; naming in my team. Because of that, I have to rename each field after creating, which is not very convenient.
The text was updated successfully, but these errors were encountered:
As far as I know, editorConfig doesn't allow you setup special rules for specific type (especially for generics), am I wrong?
I thought that may be you can do some sort of plugin's menu in Rider settings or config file, where users could choose naming strategy
It may not be quick to implement and should be an opt in to override the naming strategy defined above (default should be the configured naming settings). One may have a look when time allows.
In the meantime, PR are welcome 🙂
Hi! Is it possible to make some sort of setting, so you could choose what naming startegy will be used for mock fields created by "Fill with Mock" feature? Currently it creates
private Mock<Test> test;
, but we are usingprivate Mock<Test> testMock;
naming in my team. Because of that, I have to rename each field after creating, which is not very convenient.The text was updated successfully, but these errors were encountered: