Answer the question
In order to leave comments, you need to log in
PuQt5 and PyQode editor. How to do code completion?
There is an article on how to do this: https://github.com/pyQode/pyQode/wiki/Advanced-top...
In the server part, I make my own provider:
class CustomCodeCompletionProvider:
def complete(self, code, line, column, path, encoding, prefix):
"""
Provides a static code completion list
:param code: code to complete
:param args: additional (unused) arguments.
"""
return [
{'name': 'action', 'tooltip': 'Действие выполняемое над объектом'},
{'name': 'action.id', 'tooltip': 'Идентификатор действия'},
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question