admin管理员组文章数量:1125727
Using pylsp under vim and ale on Debian 12, I am able to do autocomplete for all built-in Python packages. However, after installing python3-gi to get the PyGObject Gtk bindings, pylsp is unable to provide autocomplete for these.
Any way to configure pylsp to support autocompletion of this library?
Using pylsp under vim and ale on Debian 12, I am able to do autocomplete for all built-in Python packages. However, after installing python3-gi to get the PyGObject Gtk bindings, pylsp is unable to provide autocomplete for these.
Any way to configure pylsp to support autocompletion of this library?
Share Improve this question edited Jan 9 at 5:58 romainl 196k21 gold badges297 silver badges333 bronze badges asked Jan 9 at 3:15 twig-frothtwig-froth 51 silver badge5 bronze badges 1- Use pylsp's doc and issue tracker – romainl Commented Jan 9 at 5:58
1 Answer
Reset to default 0Its hard for tools to inspect pygobject but this package contains generated stubs that should work: https://github.com/pygobject/pygobject-stubs
本文标签: pythonHow to configure pylsp to autocomplete for PyGObjectStack Overflow
版权声明:本文标题:python - How to configure pylsp to autocomplete for PyGObject? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736674955a1947130.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论