Instantly refactor your Python code
Nov 03, 2020
We're delighted to announce that Sourcery is now available in Vim 🎉.
This means you can use all of the great features of Sourcery directly in Vim:
Sourcery uses the the excellent coc.nvim LSP plugin to provide its functionality. There are complete installation instruction on our docs.
Here's a Sourcery refactoring suggestion shown using
:call CocAction('doHover')
Run :CocFix
to view the options to fix:
Press 1
and your code is instantly refactored:
Check out our docs for more usage instructions and configuration options.
Thanks to Marco Aguiar for working out how to use Sourcery in Vim 🙏!