autowrap icon indicating copy to clipboard operation
autowrap copied to clipboard

How to handle unnamed parameters in typestubs

Open jpfeuffer opened this issue 3 years ago • 0 comments

Since named parameters are not possible in a C function (See #167 ) we should think about removing names from the typehints to not confuse language servers like Jedi (see Discussion there). However, I think other language servers like the one from PyCharm can make use of the names without autocompleting it with name=val (which does not work). We would need to investigate where PyCharm gets the info from (docstring, where we will have names; or typestub, where will not have names anymore).

jpfeuffer avatar Dec 20 '22 09:12 jpfeuffer