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

No IntelliSense for collections.deque and parse.SplitResult #2345

Closed
chen19901225 opened this issue Aug 7, 2018 · 9 comments
Closed

No IntelliSense for collections.deque and parse.SplitResult #2345

chen19901225 opened this issue Aug 7, 2018 · 9 comments
Assignees
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug

Comments

@chen19901225
Copy link

Environment data

  • VS Code version:1.25.1
  • Extension version (available under the Extensions sidebar): python2018.7.1
  • OS and version: ubuntu16.04
  • Python version (& distribution if applicable, e.g. Anaconda): python3.6.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv

use python language server with "python.jediEnabled": false, configured.

Actual behavior

import collections
q = collections.deque()
q.

q not show any method for deque

from urllib import parse
parsed_tuple = parse.urlparse("http://www.github.com/aaaa")  
parsed_tuple.

parsed_tuple does not show any suggestion like scheme, netloc.

@MikhailArkhipov
Copy link

I can't see parse in the urllib in typeshed. Did you mean

import urlparse

urlparse.urlparse().

@MikhailArkhipov
Copy link

microsoft/PTVS#4613

@MikhailArkhipov MikhailArkhipov self-assigned this Aug 7, 2018
@chen19901225
Copy link
Author

@MikhailArkhipov maybe because of python3.
In python2:

import urlparse

in python3

from urllib import parse

@brettcannon brettcannon added area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug needs verification labels Aug 9, 2018
@brettcannon
Copy link
Member

@chen19901225

This comment has been minimized.

@brettcannon

This comment has been minimized.

@brettcannon

This comment has been minimized.

@MikhailArkhipov
Copy link

Related #2377

@MikhailArkhipov
Copy link

MikhailArkhipov commented Aug 14, 2018

Collections and url issues were fixed with typeshed by microsoft/PTVS#4628

@lock lock bot locked as resolved and limited conversation to collaborators Oct 3, 2018
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. bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants