Don't miss out on these powerful new features - write better code faster today.
Dec 02, 2020
We're excited to announce that Sourcery just got a whole load more powerful.
With Sourcery Pro you can:
Sourcery can now propose refactorings to extract blocks of code into new functions. This will be suggested in two circumstances:
Take a look:
Sourcery suggests where methods can be extracted and then does it for you - all you need to do is think of a name.
Getting rid of duplicate code and ensuring functions are small and easy to read are fundamental to writing high quality code. Sourcery is now here to help!
You can now get all of Sourcery's suggestions at once, right in the IDE.
Select the project or a folder within a project in the IDE plugins, and then have Sourcery scan every file within it. All refactoring suggestions will be displayed as they are found in the Problems window.
This makes it easy to refactor a large portion of the codebase quickly without manually having to visit every file to see the Sourcery suggestions.
This is just the beginning. In the coming weeks we will be expanding out our analysis to allow method extraction at the class and module level as well.
Banish duplicate code to the scrapheap - sign up here!