-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 docs shown in code completion with python.autoComplete.addBrackets is true #452
Comments
Please could you provide the output from the following:
|
Nothing helpful there:
console window:
The code I have in the window is: import json
abc = json.loads() |
There was a change where we no longer fetch documentation along with the list and rather get it on per-item basis (for performance reasons). Fetching doc is a separate action that may spawn a process. Does this only happens to some modules or to all? What happens if you move selection down and then back up? |
That output window suggests there's a format error in a pylintrc file. I wonder if that is short-circuiting something from working? |
Yes, if file has syntax errors, Jedi may not be able to build proper AST. |
Can I help with any information? |
Please could you try installing the insiders build from here https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#insiders-build. If that doesn't work, please could you provide the output of:
|
I installed the insiders build and still see no completion for methods. The python output window doesn't show anything but the developer console shows the following:
|
@palango You don't seem to have the latest version nor the insiders build of the extension installed.
I was referring to the insiders build of the extension, not VS Code. It should work now. |
@DonJayamanne I followed the steps to install the insiders build of the extension. Anyhow, now I have 2018.1.0 installed (at least that version is shown in the extensions sidebar) and I still see the problem. Not sure anymore if this is on the side of the extension or some strange setting somewhere on my system. python output looks good:
the developer tools look fine as well:
|
@palango
console. Intellisense should popup for the |
the problem occurs when you have set python.autocomplete.addBrackets on true when you set this as false it is ok |
@Maqusek I can confirm this. When I set the |
I can confirm that |
Environment data
Version: Code 1.19.0 (816be6780ca8bd0ab80314e11478c48c70d09383, 2017-12-14T09:51:12.123Z)
OS Version: Darwin x64 17.3.0)
Python Extension version: 0.9.0
Python Version: 3.6.3
Actual behavior
In https://code.visualstudio.com/docs/python/editing one can see that intellisense shows documentation for the
json.loads
function. When I do the same I don't get any docs displayed. This in generally the case for functions and methods, but works for modules.Expected behavior
Show docs as in the docs.
Steps to reproduce:
json
json.loads
The text was updated successfully, but these errors were encountered: