-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode reports suggestions the CLI doesn't report #383
Comments
Hello, @carlfriedrich! Thanks for reporting this issue. This is a known limitation in the Sourcery CLI - it cannot yet handle refactorings that add imports. The same limitation applies to both |
@ruancomelli Thanks for your quick reply. Looking forward to the implementation. |
Checklist
Description
I have installed the Sourcery plugin for VS Code. Furthermore I have set up the Sourcery CLI. Both of them are configured to use the same
.sourcery.yaml
config file.Now VS Code reports some suggestions that the CLI does not report, e.g. the
use-contextlib-suppress
suggestion:Even when I explicitly enable it on the command line, the CLI does not find any issues:
The same happens with
extract-method
andextract-duplicate-method
.Where does the difference in behavior come from? How can I configure VS Code and the CLI to report the same suggestions?
Code snippet that reproduces issue
Debug Information
IDE Version:
VSCode 1.81.1
Sourcery Version:
Sourcery 1.6.0
Operating system and Version:
Ubuntu 22.04 via WSL
The text was updated successfully, but these errors were encountered: