Autocomplete doesn't work for Gtk+ 3
See original GitHub issueEnvironment 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:
- Install x86 Python 2.7
- Install Pygobject and Gtk+ from precompiled binaries for windows (https://sourceforge.net/projects/pygobjectwin32/)
- Run the following script
- Try to autocomplete Gtk.
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
win = Gtk.
Logs
Output from Python
output panel
Output from Console window
(Help->Developer Tools menu)
Kudos on the awesome extension BTW 😉
Cheers Pavan
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:22 (8 by maintainers)
Top GitHub Comments
@brettcannon @MikhailArkhipov jedi now has stubs support in the master branch.
Closing as this is an upstream issue which we don’t have direct control or influence over.