For my project, I am using Code mirror 6 and python-lsp-server as my language server.
I spawn up my language server using the following code
pylsp --ws --port 3001
I attach the serverUri to the extension. Now I am particularly concerned about 2 things
First being, when I autocomplete using the autocompletions provided by python-lsp-sever to the codemirror-languageserver
extension, the suggestion adds the variables also as shown in the below figures
Right now, the source code codemirror-languageserver overrides the autocompletion. However I would like to add custom autocompletions. Would that be possible? Or would I be able to wrap the code with custom variables and send it across?
For my project, I am using Code mirror 6 and
python-lsp-server
as my language server.I spawn up my language server using the following code
I attach the serverUri to the extension. Now I am particularly concerned about 2 things
python-lsp-sever
to thecodemirror-languageserver
extension, the suggestion adds the variables also as shown in the below figurescodemirror-languageserver
overrides the autocompletion. However I would like to add custom autocompletions. Would that be possible? Or would I be able to wrap the code with custom variables and send it across?Any help would be greatly appreciated!