question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autocomplete doesn't work for Gtk+ 3

See original GitHub issue

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:

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:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

0reactions
brettcannoncommented, Jul 29, 2019

Closing as this is an upstream issue which we don’t have direct control or influence over.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyCharm - autocomplete for Gtk3 magically stops working
In PyCharm community edition 3.4.1 (mint 17), to make Gtk3 autocompletion ... import Gtk strike Alt-Enter and select "Generate stubs for binary module"....
Read more >
[Solved] Autocomplete gtk3 in vim with YCM results in file not ...
I am trying to learn gtk3 and I use vim as my daily programming IDE, with YCM. ... does not seem to change...
Read more >
Bug #1645099 “Autocomplete not working (gtk3.22 wayland)”
It looks like this might be a gtk/wayland issue. Autocomplete works if homebank is on the primary display/monitor. However, when I move homebank ......
Read more >
Geany: Syntax highlighting and autocomplete doesn't work ...
I'm currently writing a program that uses the GTK library. The programs compile and run fine. The problem is - geany seems to...
Read more >
Vala autocomplete do not work - gnome-builder
OS: Ubuntu 18.04.3 LTS DE: budgie-desktop GNOME Builder 3.34.1 from flatpack Autocomplete for Vala do not work. Neither in my projects, nor.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found