CollinAlpert / Lombok.NET

.NET adaptation for Java's Lombok using Source Generators.
MIT License
309 stars 16 forks source link

Feat: #38 #39

Closed View12138 closed 7 months ago

CollinAlpert commented 8 months ago

Thanks for this, it's a good idea! Can you make sure the tests pass before I review the PR?

View12138 commented 8 months ago

I'm sure that the PR code can pass the test, because I can't run your test project locally, so I wrote another test project myself to test the code I submitted, and the new code in the issue is generated by my local test project

View12138 commented 8 months ago

I'd also like to share with you my test scenario, which can be used to get into debug mode using VS's debug test method without having to attach to a process, which I think might be easier to write code and test projects

CollinAlpert commented 8 months ago

Please let me know why you can't run the test project locally, this is something I would definitely need to fix.

Keep in mind you need to run the tests while in Release mode so the debugger does not wait for an attached process: https://github.com/CollinAlpert/Lombok.NET?tab=readme-ov-file#building-and-debugging

View12138 commented 8 months ago

This is my test project

CollinAlpert commented 8 months ago

Sorry about the delay, I've had a busy week but will get to this on the weekend the latest.

CollinAlpert commented 7 months ago

Looks good! I will look into using Verify for tests in the future.