Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Completions not available for imported functions #421

Closed
karthiknadig opened this issue Nov 20, 2018 · 2 comments
Closed

Completions not available for imported functions #421

karthiknadig opened this issue Nov 20, 2018 · 2 comments

Comments

@karthiknadig
Copy link
Member

Repro steps:

  • Clone the latest ptvsd project https://github.com/Microsoft/ptvsd
  • Set PYTHONPATH to point to src
  • Open up any file under pytests.
  • Import and use any function from ptvsd, e.g, from ptvsd.socket import create_server, close_socket

Actual:
Get no completion. Sometimes you get name completions. Hover info is not available either.

Expected:
Should get completion

@MikhailArkhipov
Copy link

Probably should be resolved by #361 and related

@MikhailArkhipov
Copy link

Yep

[Info  - 7:25:52 PM] SearchPaths:
[Info  - 7:25:52 PM]     c:\python27\dlls
[Info  - 7:25:52 PM]     c:\python27\lib
[Info  - 7:25:52 PM]     c:\python27\lib\lib-tk
[Info  - 7:25:52 PM]     c:\python27
[Info  - 7:25:52 PM]     c:\python27\lib\site-packages
[Info  - 7:25:52 PM]     c:\python3\python36.zip
[Info  - 7:25:52 PM]     c:\python3\DLLs
[Info  - 7:25:52 PM]     c:\python3\lib
[Info  - 7:25:52 PM]     c:\python3
[Info  - 7:25:52 PM]     c:\python3\lib\site-packages
[Info  - 7:25:52 PM]     .
[Info  - 7:25:52 PM]     src
[Info  - 7:25:52 PM]     c:\python3

image

This, however, works

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants