We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
attrs
__init__
The tooltip for instantiation of attrs-style defined class is not showing arg variables.
Define class via attrs
from attr import attrs, attrib @attrs class Class() a = attrib() b = attrib(default=42)
Tooltip for class initialization shows:
(...) Class(
It would be more usefull if the init args tooltip shown the actual generated args.
(a, b=42) Class(
Though, not sure how difficult it would be to search for @attrs wrapper and parse the vars.
@attrs
Also the attr.make_class can be used, where the __init__ args are defined in form of dict, which can possibly be even more difficult to parse.
attr.make_class
N/A
The text was updated successfully, but these errors were encountered:
This goes into the direction of davidhalter/jedi#626
I suppose that it will take at least a year, but it's not going to be possible without a plugin structure.
Sorry, something went wrong.
No branches or pull requests
Issue
The tooltip for instantiation of
attrs
-style defined class is not showing arg variables.Steps to reproduce
Define class via
attrs
Tooltip for class initialization shows:
(...) Class(
It would be more usefull if the init args tooltip shown the actual generated args.
Though, not sure how difficult it would be to search for
@attrs
wrapper and parse the vars.Also the
attr.make_class
can be used, where the__init__
args are defined in form of dict, which can possibly be even more difficult to parse.Output of “:verbose JediDebugInfo”
N/A
The text was updated successfully, but these errors were encountered: