python-language-server icon indicating copy to clipboard operation
python-language-server copied to clipboard

Cannot generate auto-import when undefined function is used as decorator

Open ThiefMaster opened this issue 5 years ago • 0 comments

Environment data

  • Language Server version: 0.5.50.0
  • OS and version: Gentoo Linux
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8

Expected behavior

Being able to autogenerate the import for the decorator as well.

Actual behavior

The import can only be autogenerated for the normal function call.

image

image

ThiefMaster avatar May 22 '20 15:05 ThiefMaster