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

Completions not available for imported functions #421

Closed

Description

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

Activity

  1. MikhailArkhipov commented on Nov 21, 2018

    @MikhailArkhipov

    Probably should be resolved by #361 and related

  2. MikhailArkhipov commented on Feb 16, 2019

    @MikhailArkhipov

    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

  3. added a commit that references this issue on Feb 20, 2019
    8fd6ae7
  4. added a commit that references this issue on Nov 1, 2019
    efc4cc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions