Table of Contents

Class PythonServerLocator

Namespace
Alternet.Syntax.Parsers.Lsp.Python
Assembly
Alternet.Syntax.Parsers.Python.v9.dll

Finds location of the language server executable.

public class PythonServerLocator : ServerLocator
Inheritance
PythonServerLocator
Derived

Constructors

PythonServerLocator(PythonLanguageServer)

Fields

PythonPylsLSPArguments
PythonPylsLSPServer
PythonPylspLSPArguments
PythonPylspLSPServer
PythonPyrightLSPArguments
PythonPyrightLSPServer

Properties

PythonLSPArguments
PythonLSPServer

Methods

DeployEmbeddedServer(string)

When implemented in a derived class, deploys the embedded LSP server and returns the ProcessStartInfo to start it.

GetProcessStartInfo(string)
LocateApplicationDefinedServer(string)

Finds the server in the given user directory and returns the ProcessStartInfo to start it. Throws exception when a server was not found in the specified directory.

LocateSystemServer()

When implemented in a derived class, finds the server installed globally on the host system. Throws an exception when the server was not found, or if a server doesn't support system-wide installation.

ValidateApplicationDefinedServerDirectory(string)