-
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
Autocomplete doesn't work for Gtk+ 3 #582
Comments
I have the same problem. But I can see something in the module |
Does this plugin support PEP 484 stub files? There was some discussion on the python+gtk site to look into supporting that: pygobject/pgi-docgen#79 (comment) |
@SakuraLife the @lazka davidhalter/jedi#839 suggests that Jedi doesn't have support yet for |
Should have seen this earlier. Its a jedi issue. |
We don't patch Jedi ATM, but @MikhailArkhipov is collecting known issues with Jedi in hopes that we can resolve them eventually. |
Thanks brett ! |
@pavan-inferno I believe so, yes. |
We integrated Jedi 0.11, could you try insiders build please https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#insiders-build |
@MikhailArkhipov do you mean that pyi files should now work in the Insiders build, or are you referring to something else? |
@fredrikaverpil it doesn't look like it: davidhalter/jedi#839 |
@fredrikaverpil - may or may not, I just meant there is new Jedi that could have the fix. Apparently not. |
Surprisingly just the issue I was looking for. @MikhailArkhipov do you need someone to test the insiders build of vscode-python to see if this issue is resolved |
@tristan957 until davidhalter/jedi#839 is fixed upstream or we replace Jedi this won''t get fixed in the extension. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
For anyone interested, work is now being done on davidhalter/jedi#839 ! |
Has anyone tried this with the Python language server? Admittedly I don't write much Python anymore. Not sure if the language server makes use of Jedi or not. |
@tristan957 the language server does not use Jedi. |
@brettcannon I am aware. I was meaning that "has someone tried writing PyGObject using the language server instead of the Jedi-based completions". |
@brettcannon @MikhailArkhipov jedi now has stubs support in the master branch. |
Proof of .pyi files being loaded in vscode: davidhalter/jedi#1318 (comment) |
Closing as this is an upstream issue which we don't have direct control or influence over. |
Environment data
VS Code version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
Python Extension version: 0.9.1
Python Version: 2.7.14
OS and version: Windows_NT x64 10.0.16299
Actual behavior
Autocomplete doesn't work for Gtk+ 3 library. It does work for all other libraries I have tried in the past. It also works for pygtk (gtk 2.x). Even in the given script, it works with gi but doesn't work with Gtk. It shows all the member functions and variables for gi, auto completion only shows suggestions based on used keywords and no member functions.
Is this related to the Gobject and introspection ?
Expected behavior
Autocomplete should show member functions
Steps to reproduce:
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)Kudos on the awesome extension BTW ;)
Cheers
Pavan
The text was updated successfully, but these errors were encountered: