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
To achieve this I created 5 groups, 4 of which are trivial, because they are simply StatsWith and constant value. However in order to place all 3rd party package usings I tried to use a regex, which does not match any of the other groups.
When I used the hotkey to format the usings the 3rd party ones were ordered last, When I opened the settings again I was intrigued to see that my group rule is completely gone. So I tested it:
Create a new rule, chose MatchRegex and pass in ^[^.]+?(using (?!System)(?!Microsoft)(?!Interactive\.)(?!static)[A-Z]{1}.*)$ as Value
Save settings
Use format hotkey
Open settings again
The newly created rule is gone.
This does not happen for all regex values. For example the rule did not go away with .+?using AutoMapper;.
Activity