-
Notifications
You must be signed in to change notification settings - Fork 767
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
Intellisense should offer super()-calls when overwriting inherited methods #668
Comments
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision. |
Great. I have just changed the title a little bit, because I believe that – while it may be more difficult to implement, I don't know – the idea of offering the |
This will be fixed in the next Pylance release (though not the old form, as we don't support Python 2). |
This issue has been fixed in version 2020.12.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#2020120-2-december-2020 |
This is a good feature, but can this remains as an option? EditI've opened I new feature request for that #2531 |
In a subclass, I can type "def so" and get an autocompletion popup offering "def some_method" with the complete signature from a parent class I inherit from. I would like these stubs to contain a super call (e.g.,
super(SubClass, self).some_method(argument1, argument2)
.If the method should better be empty by design (not knowing whether a super call makes sense), it would be nice to be able to type "super" and get the full super call offered as IntelliSense completion.
The text was updated successfully, but these errors were encountered: