Add "implement all inherited abstract classes" code action as a quick fix for reportAbstractUsage #5757
Labels
enhancement
New feature or request
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
I was trying out the "implement all inherited abstract classes" code action which I love, and then it occurred to be that it could be nice if there was also a quick fix available when
reportAbstractUsage
is reported due to the class being instantiated without having the abstract methods implemented (whentypecheckingmode
is set tobasic
orstrict
). For example:I guess there may be problem of differentiating this error vs when it happens due to someone calling e.g.
shape = Shape()
, since it also reports the same error?The text was updated successfully, but these errors were encountered: