Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python intellisense works only when backspace is pressed #3871

Closed
rohansekhri opened this issue Jan 4, 2019 · 4 comments
Closed

Python intellisense works only when backspace is pressed #3871

rohansekhri opened this issue Jan 4, 2019 · 4 comments
Assignees
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.

Comments

@rohansekhri
Copy link

Environment data

  • VS Code version: 1.30.1
  • Extension version (available under the Extensions sidebar): 2018.12.1 (14 Dec 2018)
  • OS and version: Windows 10 17763
  • Python version: 2.7.15 Standard
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

Expected behaviour

On pressing Ctrl + Space, all members of the module should be populated

Actual behaviour

On pressing Ctrl + Space, VS is stuck at loading... and on pressing backspace starts to show module members

Steps to reproduce:

  1. Create a new python file and import any well-known package
  2. Type os. and press Ctrl + Space
  3. Press backspace and clear the (.)
  4. Now add the (.) and type sys (for os.system) and press Ctrl + Space
  5. While Loading.. is being displayed hit backspace until only one character is left to the right of the (.) --> os.s ==> now all the data members show up

Settings:

{
"python.jediEnabled": false,
"python.linting.pylintEnabled": false,
"python.autoComplete.addBrackets": true,
"terminal.integrated.shell.windows": "C:\WINDOWS\System32\cmd.exe",
"files.autoSave": "afterDelay",
"python.pythonPath": "C:\Python27",
"git.autofetch": true,
"diffEditor.renderSideBySide": false,
"explorer.confirmDelete": true,
"terminal.integrated.rendererType": "dom",
"workbench.iconTheme": "vscode-icons",
"python.autoUpdateLanguageServer": true
}

Note: all paths have double \ . Paths do not have any issues

GIF:

vspython

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Jan 4, 2019
@rohansekhri rohansekhri changed the title Python intellisense only works when backspace is pressed Python intellisense works only when backspace is pressed Jan 4, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 7, 2019
@ericsnowcurrently
Copy link
Member

Hi @rohansekhri. Thanks for letting us know about this. I haven't been able to reproduce the problem using Linux, so I wonder if it is Windows-specific. Also, how long has this been a problem for you? For instance, did it start happening after an update or has it always been this way?

@ericsnowcurrently ericsnowcurrently added the info-needed Issue requires more information from poster label Jan 9, 2019
@rohansekhri
Copy link
Author

I have seen it a few times and I haven't been coding on Linux for a while so I'm not sure of the behavior on Linux. Is there something needed in addition to what I have already provided?

@ericsnowcurrently ericsnowcurrently added area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. upstream-language server and removed info-needed Issue requires more information from poster labels Jan 14, 2019
@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently added the info-needed Issue requires more information from poster label Jan 14, 2019
@brettcannon
Copy link
Member

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.

@ghost ghost removed info-needed Issue requires more information from poster triage labels Feb 26, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
Projects
None yet
Development

No branches or pull requests

4 participants