Writing some client code for a pygls server - textDocument/completion isnt a recognized method?
#404
Unanswered
blankRiot96
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
Have I severely misunderstood what pygls does? I think so. So it doesn't provide any default completion engines for suggesting autocompletion? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Yeah I found jedi later on, thank you for your reply |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have a python file,
D:\d\p\editor\main.pyAnd at the position
9, 6(the position after the characterm) I wanted to fetch some autocompletion suggestionsWell, I read the docs regarding the features that have been implemented, this section:

But I can't really find what the request message should look like in order to use
textDocument/completion?Here's what I had for the server
And for the client:
However, this is where i get the error
Also, is there a better/easier way to write client code? I dont mind websockets but maybe yall have some suggestions
Beta Was this translation helpful? Give feedback.
All reactions