Closed BlythMeister closed 2 years ago
Thank you very much for putting this together. A couple thoughts:
CodeMaid.config
setting updates?Sorry, I didn't realise that I included that file. That was an error. I'll give it another look. I tested on a method and it prevented the flip. I didn't test on the exact code in that issue. So will test with that too
@codecadwallader i've had a look and i think it's because it was an inline property and therefore had no {
in it.
I've added ;
for struct and property to handle these being inline.
I've also reverted that accidentally commited file :)
i've now tested with:
namespace ConsoleApp1
{
internal class Test
{
internal static new int MyValue => 1;
internal static new void DoStuff()
{ }
}
}
@codecadwallader is this PR ok now to be included in the next release? Having the setting disabled has meant the valid auto adding of modifiers has also stopped which is a little frustrating.
Thanks for the updates! I was able to confirm the fix now too. Merging it in for the next release. I really appreciate your help!
Update the logic to take into account the start point when searching.
This fixes #867