Sourcery now available in Sublime!

Instantly refactor your Python code

Written by Brendan Maginnis on

Sourcery and Sublime

We’re delighted to announce that Sourcery is now available in Sublime 🎉.

This means you can use all of the great features of Sourcery directly in Sublime:

Installation

Sourcery uses the the excellent LSP package to provide its functionality. There are complete installation instruction in our docs.

Sourcery in Action

Hover over a Sourcery diagnostic to view the refactoring suggestion:

Suggested diff

Click Code Actions to view the options to fix:

Options to fix

Select the first option and your code is instantly refactored:

Refactored code

Documentation

Check out our docs for more usage instructions and configuration options.