Skip to content

Intellisense for site-packages doesn't work as intended #720

Description

@python4ever

Environment data

VS Code version: Newest
Python Extension version: 2018.1.0
Python Version: 3.6.4
OS and version: Windows 10 x64

Actual behavior

Intellisense does not work, sometimes partially work I guess

Expected behavior

Well I guess it should work all the time

Steps to reproduce:

  • I opened a project dir in vs code
  • I write a code like this:

image

  • It doesn't even suggest train_data or anything. The pop-up showed up, because after writing a dot I pressed Ctrl+Space

It works good for my own classe (if I make some dummy class Foo then it shows available methods after the dot). It may sometimes show up but like after 5-10 seconds? I guess thats too much and I remember working with this extension without that trouble. It does something like this:

Alt Text

I tried it on multiple machines (with Linux too), fresh installations, new files/folders, nothing does work. My settings.json:

{
    "editor.renderWhitespace": "all",
    "window.zoomLevel": 0,
    "vim.disableExtension": false,
    // Python setting
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/*.pyc": true,
        "**/*.idea": true,
        "**/*.cache": true,
        "**/*__pycache__": true
    },
    "workbench.editor.enablePreview": false,
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "sync.autoDownload": true,
    "sync.autoUpload": true,
    "sync.forceDownload": false,
    "sync.anonymousGist": false,
    "sync.host": "",
    "sync.pathPrefix": "",
    "sync.quietSync": false,
    "sync.askGistName": false,
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    },
    "window.menuBarVisibility": "default",
    "vim.otherModesKeyBindings": [
        {
            "before": [
                "^"
            ],
            "after": [
                "z",
                "z"
            ]
        }
    ],
}

Am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions