Skip to content

Is the autocompletion provided by the language server reconfigurable? #25

@ShobhanKarthick

Description

@ShobhanKarthick

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

  1. 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

image

image

  1. 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?

Any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions