Skip to content
Hellebore edited this page Mar 4, 2021 · 5 revisions

Can I configure Sourcery not to make certain refactorings?

You can add a Sourcery configuration file to your project to switch off individual refactorings. This is covered in detail in Sourcery Configuration.

Why does Sourcery sometimes remove comments?

Some refactorings involve removing lines of code or moving them around, and these lines sometimes have comments associated with them. In these cases the refactoring will remove associated comments, but flag this to you so you can check if you want to keep them.

Clone this wiki locally