diff --git a/docs/latest/en/.doctrees/environment.pickle b/docs/latest/en/.doctrees/environment.pickle index a7ca022..1cc0bdc 100644 Binary files a/docs/latest/en/.doctrees/environment.pickle and b/docs/latest/en/.doctrees/environment.pickle differ diff --git a/docs/latest/en/.doctrees/lsp-devtools/guide/record-command.doctree b/docs/latest/en/.doctrees/lsp-devtools/guide/record-command.doctree index 82a3894..a6f8ca6 100644 Binary files a/docs/latest/en/.doctrees/lsp-devtools/guide/record-command.doctree and b/docs/latest/en/.doctrees/lsp-devtools/guide/record-command.doctree differ diff --git a/docs/latest/en/.doctrees/pytest-lsp/guide/troubleshooting.doctree b/docs/latest/en/.doctrees/pytest-lsp/guide/troubleshooting.doctree index b1b29b4..1f89259 100644 Binary files a/docs/latest/en/.doctrees/pytest-lsp/guide/troubleshooting.doctree and b/docs/latest/en/.doctrees/pytest-lsp/guide/troubleshooting.doctree differ diff --git a/docs/latest/en/.doctrees/pytest-lsp/reference.doctree b/docs/latest/en/.doctrees/pytest-lsp/reference.doctree index 5556ee8..d87c8df 100644 Binary files a/docs/latest/en/.doctrees/pytest-lsp/reference.doctree and b/docs/latest/en/.doctrees/pytest-lsp/reference.doctree differ diff --git a/docs/latest/en/_sources/pytest-lsp/guide/troubleshooting.rst.txt b/docs/latest/en/_sources/pytest-lsp/guide/troubleshooting.rst.txt index 55c8b32..bd93473 100644 --- a/docs/latest/en/_sources/pytest-lsp/guide/troubleshooting.rst.txt +++ b/docs/latest/en/_sources/pytest-lsp/guide/troubleshooting.rst.txt @@ -109,7 +109,7 @@ Depending on the version of ``pygls`` (the LSP implementation used by ``pytest-l -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== 1 passed, 1 warning in 0.64s ============================= -This is a known issue in ``pygls v1.0.2`` and older, upgrading your ``pygls`` version to ``TBD`` should resolve the issue. +This is a known issue in ``pygls v1.0.2`` and older, upgrading your ``pygls`` version to ``1.1.0`` or newer should resolve the issue. .. note:: diff --git a/docs/latest/en/lsp-devtools/guide/record-command.html b/docs/latest/en/lsp-devtools/guide/record-command.html index 5be8284..8c495c6 100644 --- a/docs/latest/en/lsp-devtools/guide/record-command.html +++ b/docs/latest/en/lsp-devtools/guide/record-command.html @@ -367,6 +367,7 @@

Alternate Destinations json_extract(params, "$.clientInfo.name") as client_name, json_extract(params, "$.clientInfo.version") as client_version, json_extract(params, "$.rootUri") as root_uri, + json_extract(params, "$.workspaceFolders") as workspace_folders, params, result FROM requests WHERE method = 'initialize'; @@ -485,7 +486,7 @@

Formatting messagesopening an issue if you have any thoughts or suggested improvements

-

Similar to Python’s Format String Syntax a pair of braces ({}) denote a placeholder where a value can be inserted. +

Similar to Python’s Format String Syntax a pair of braces ({}) denote a placeholder where a value can be inserted. Inside the braces you can then select and the message field you want to be inserted using a dot-separated syntax that should feel familiar if you’ve ever used jq:

Message:
 {
diff --git a/docs/latest/en/pytest-lsp/guide/client-capabilities.html b/docs/latest/en/pytest-lsp/guide/client-capabilities.html
index af36b5a..0675c4e 100644
--- a/docs/latest/en/pytest-lsp/guide/client-capabilities.html
+++ b/docs/latest/en/pytest-lsp/guide/client-capabilities.html
@@ -393,7 +393,7 @@ 

Disabling Checks
Controlling warnings

Pytest’s documentation on configuring how warnings should be handled

-
The Warnings Filter

Python’s built in warning filter syntax

+
The Warnings Filter

Python’s built in warning filter syntax

diff --git a/docs/latest/en/pytest-lsp/guide/troubleshooting.html b/docs/latest/en/pytest-lsp/guide/troubleshooting.html index 16292d2..3579918 100644 --- a/docs/latest/en/pytest-lsp/guide/troubleshooting.html +++ b/docs/latest/en/pytest-lsp/guide/troubleshooting.html @@ -320,7 +320,7 @@

DeprecationWarn =========================== 1 passed, 1 warning in 0.64s =============================

-

This is a known issue in pygls v1.0.2 and older, upgrading your pygls version to TBD should resolve the issue.

+

This is a known issue in pygls v1.0.2 and older, upgrading your pygls version to 1.1.0 or newer should resolve the issue.

Note

While this issue has been fixed upstream, it is not yet generally available. diff --git a/docs/latest/en/pytest-lsp/reference.html b/docs/latest/en/pytest-lsp/reference.html index 818f207..b76b372 100644 --- a/docs/latest/en/pytest-lsp/reference.html +++ b/docs/latest/en/pytest-lsp/reference.html @@ -232,14 +232,9 @@

API Reference#

-class pytest_lsp.LanguageClient(protocol_cls=<class 'pytest_lsp.protocol.LanguageClientProtocol'>, *args, **kwargs)#
+class pytest_lsp.LanguageClient(*args, **kwargs)#

Bases: BaseLanguageClient

Used to drive language servers under test.

-
-
Parameters:
-

protocol_cls (Type[LanguageClientProtocol]) –

-
-
async initialize_session(params)#
@@ -272,8 +267,8 @@

LanguageClient
Parameters:

@@ -285,7 +280,7 @@

LanguageClient
Parameters:
-

server (Process) –

+

server (Process) –

@@ -314,44 +309,44 @@

LanguageClient
Parameters:
-

method (str) – The notification method to wait for, e.g. textDocument/publishDiagnostics

+

method (str) – The notification method to wait for, e.g. textDocument/publishDiagnostics

-capabilities: ClientCapabilities | None#
+capabilities: ClientCapabilities | None#

The client’s capabilities.

-diagnostics: Dict[str, List[Diagnostic]]#
+diagnostics: Dict[str, List[Diagnostic]]#

Used to hold any recieved diagnostics.

-error: Exception | None#
+error: Exception | None#

Indicates if the client encountered an error.

-log_messages: List[LogMessageParams]#
+log_messages: List[LogMessageParams]#

Holds any received window/logMessage requests.

-messages: List[ShowMessageParams]#
+messages: List[ShowMessageParams]#

Holds any received window/showMessage requests.

-shown_documents: List[ShowDocumentParams]#
+shown_documents: List[ShowDocumentParams]#

Used to keep track of the documents requested to be shown via a window/showDocument request.

@@ -379,7 +374,7 @@

Test Setup
Parameters:
-

client_spec (str) – A string describing the client to load the corresponding +

client_spec (str) – A string describing the client to load the corresponding capabilities for.

Return type:
@@ -396,9 +391,9 @@

Test Setup
Parameters:
@@ -415,19 +410,19 @@

Test Setup
-client_factory: Callable[[], JsonRPCClient]#
+client_factory: Callable[[], JsonRPCClient]#

Factory function to use when constructing the test client instance.

-server_command: List[str]#
+server_command: List[str]#

The command to use to start the language server.

-server_env: Dict[str, str] | None#
+server_env: Dict[str, str] | None#

Environment variables to set when starting the server.

@@ -468,9 +463,9 @@

Test SetupParameters:
@@ -484,8 +479,8 @@

Test SetupParameters:
@@ -498,8 +493,8 @@

Test Setup
Parameters:
@@ -529,7 +524,7 @@

Test SetupParameters:
@@ -544,7 +539,7 @@

Test SetupParameters:
diff --git a/docs/latest/en/searchindex.js b/docs/latest/en/searchindex.js index c8784eb..f54fc9d 100644 --- a/docs/latest/en/searchindex.js +++ b/docs/latest/en/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["index", "lsp-devtools/changelog", "lsp-devtools/guide", "lsp-devtools/guide/getting-started", "lsp-devtools/guide/record-command", "lsp-devtools/guide/tui-command", "pytest-lsp/changelog", "pytest-lsp/guide", "pytest-lsp/guide/client-capabilities", "pytest-lsp/guide/fixtures", "pytest-lsp/guide/getting-started", "pytest-lsp/guide/language-client", "pytest-lsp/guide/testing-json-rpc-servers", "pytest-lsp/guide/troubleshooting", "pytest-lsp/reference"], "filenames": ["index.rst", "lsp-devtools/changelog.rst", "lsp-devtools/guide.rst", "lsp-devtools/guide/getting-started.rst", "lsp-devtools/guide/record-command.rst", "lsp-devtools/guide/tui-command.rst", "pytest-lsp/changelog.rst", "pytest-lsp/guide.rst", "pytest-lsp/guide/client-capabilities.rst", "pytest-lsp/guide/fixtures.rst", "pytest-lsp/guide/getting-started.rst", "pytest-lsp/guide/language-client.rst", "pytest-lsp/guide/testing-json-rpc-servers.rst", "pytest-lsp/guide/troubleshooting.rst", "pytest-lsp/reference.rst"], "titles": ["LSP Devtools", "Changelog", "User Guide", "Getting Started", "Recording Sessions", "TUI Application", "Changelog", "User Guide", "Client Capabilities", "Fixtures", "Getting Started", "Language Client", "Testing JSON-RPC Servers", "Troubleshooting", "API Reference"], "terms": {"The": [0, 2, 4, 6, 7, 8, 10, 11, 14], "project": [0, 10, 12, 13], "provid": [0, 3, 4, 6, 12, 13], "number": [0, 1, 4, 12], "tool": [0, 3, 4, 13], "aim": 0, "make": [0, 8, 13, 14], "process": [0, 3, 10, 14], "develop": 0, "languag": [0, 3, 4, 7, 8, 12, 14], "server": [0, 1, 2, 4, 6, 7, 8, 9, 11, 13, 14], "client": [0, 1, 4, 6, 7, 9, 10, 13, 14], "easier": [0, 8], "packag": [0, 1, 3, 6, 8, 10, 13], "collect": [0, 4, 8, 10, 11, 13], "cli": 0, "util": 0, "help": [0, 4, 9, 12], "inspect": 0, "visualis": 0, "interact": [0, 3], "between": [0, 1, 4, 12], "see": [0, 3, 4, 6, 8, 12, 14], "get": [0, 2, 4, 6, 7], "start": [0, 2, 4, 6, 7, 8, 11, 13, 14], "guid": [0, 3, 4, 6, 10], "detail": [0, 3, 4, 6, 8, 12, 14], "i": [0, 1, 3, 4, 6, 8, 10, 11, 12, 13, 14], "plugin": [0, 6, 8, 10, 11, 13], "write": [0, 7, 8, 10], "end": [0, 4, 11, 14], "test": [0, 6, 7, 8, 9, 11], "session": [0, 2, 3, 6, 8, 10, 11, 13], "platform": [0, 8, 10, 11, 13], "linux": [0, 8, 10, 11, 13], "python": [0, 3, 4, 6, 8, 10, 11, 13], "3": [0, 3, 4, 8, 10, 11, 12, 13], "11": [0, 6, 8, 10, 11], "2": [0, 4, 8, 10, 11, 12, 13], "7": [0, 1, 8, 10, 11, 13], "0": [0, 3, 4, 8, 10, 11, 13], "pluggi": [0, 8, 10, 11, 13], "1": [0, 3, 4, 8, 10, 11, 12, 13], "rootdir": [0, 8, 10, 11, 13], "configfil": [0, 8, 10, 11], "tox": [0, 8, 10, 11], "ini": [0, 8, 10, 11], "typeguard": [0, 8, 10, 11, 13], "13": [0, 8, 10, 11], "asyncio": [0, 6, 8, 10, 11, 12, 13], "20": [0, 8, 10, 11], "mode": [0, 8, 10, 11, 13], "auto": [0, 8, 10, 11, 13], "item": [0, 4, 8, 10, 11, 13, 14], "test_serv": [0, 8, 10, 11, 13], "py": [0, 6, 8, 9, 10, 11, 12, 13], "f": [0, 4, 8, 11, 12], "100": [0, 8, 10, 11, 13], "failur": [0, 6, 8, 11], "____________________________________": [0, 11], "test_complet": [0, 8, 10, 11, 13], "_____________________________________": [0, 11], "pytest_lsp": [0, 6, 8, 9, 10, 11, 12, 13, 14], "languagecli": [0, 6, 8, 9, 10, 11, 13], "object": [0, 4, 10, 11, 13, 14], "0x7f38f144a690": [0, 11], "e": [0, 3, 4, 8, 10, 11, 14], "assert": [0, 6, 8, 10, 11, 12], "fals": [0, 8, 11, 13], "35": [0, 8, 11], "assertionerror": [0, 8, 11], "captur": [0, 4, 6, 8, 11, 13, 14], "window": [0, 4, 6, 7, 10, 14], "logmessag": [0, 4, 6, 7, 14], "call": [0, 8, 10, 11, 14], "log": [0, 4, 11, 12], "suggest": [0, 3, 4, 11], "4": [0, 4, 6, 8, 11], "5": [0, 11, 13], "6": [0, 1, 8, 11, 13], "8": [0, 6, 11], "9": [0, 6, 11], "short": [0, 8, 10, 11], "summari": [0, 8, 10, 11, 13], "info": [0, 4, 8, 10, 11, 12], "fail": [0, 8, 11], "02": [0, 8, 11], "It": [0, 1, 13, 14], "work": [0, 6, 8, 10, 13], "run": [0, 4, 7, 8, 9, 10, 14], "subprocess": 0, "commun": [0, 12], "over": [0, 3, 6], "stdio": 0, "just": [0, 12], "like": [0, 3, 4, 6, 9, 13], "real": [0, 4], "thi": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "also": [0, 1, 3, 4, 11, 12, 14], "mean": 0, "can": [0, 3, 4, 8, 9, 10, 12, 13, 14], "us": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "written": [0, 3, 6, 10, 12], "ani": [0, 3, 4, 6, 8, 10, 11, 12, 13, 14], "reli": [0, 6], "pygl": [0, 1, 6, 10, 12, 13], "its": [0, 6, 11, 13], "protocol": [0, 4, 10, 12, 14], "implement": [0, 1, 6, 8, 10, 11, 12, 13], "how": [0, 1, 4, 8, 12, 13], "your": [0, 4, 9, 10, 12, 13, 14], "first": [0, 6, 10], "case": [0, 4, 7, 11, 13], "pypi": 1, "33": 1, "updat": [1, 3], "record": [1, 2, 3, 11], "command": [1, 2, 3, 14], "now": [1, 6, 10], "capabl": [1, 3, 4, 6, 7, 9, 10, 14], "live": [1, 13], "stream": 1, "messag": [1, 2, 3, 6, 11, 12, 14], "sent": [1, 4, 11], "stdout": 1, "plain": [1, 4], "text": [1, 3, 4, 11], "file": [1, 3, 4, 6, 8, 10, 11], "sqlite": [1, 3, 4], "databas": [1, 3, 4], "offer": 1, "filter": [1, 2, 3, 8], "select": [1, 4, 8], "you": [1, 4, 8, 9, 10, 12, 13], "wish": [1, 8], "well": [1, 4], "wip": 1, "format": [1, 2, 3, 13], "string": [1, 4, 14], "syntax": [1, 4, 8], "control": [1, 6, 8], "ar": [1, 4, 6, 8, 11, 12, 13, 14], "26": 1, "add": [1, 3, 6, 10, 12, 13], "tui": [1, 2, 3, 4], "A": [1, 7, 14], "proof": 1, "concept": 1, "devtool": [1, 3, 4, 10], "textual": [1, 3], "lsp": [1, 2, 4, 6, 8, 10, 11, 12, 13], "requir": [1, 3, 6], "wrap": [1, 3, 4], "an": [1, 3, 4, 6, 8, 11, 12, 13, 14], "agent": [1, 2, 4], "27": 1, "migrat": [1, 6], "v1": [1, 10, 13], "remov": 1, "upper": [1, 6], "bound": [1, 6], "version": [1, 4, 6, 8, 11, 13], "mypi": 1, "error": [1, 4, 7, 8, 10, 11, 14], "initi": [1, 4, 6, 8, 10, 14], "releas": [1, 4, 6], "applic": [2, 4], "exampl": [2, 3, 6, 8, 10, 12, 13], "connect": [2, 3, 6, 10, 12, 13, 14], "option": [2, 13], "altern": [2, 8, 13], "destin": 2, "introduc": 3, "avail": [3, 4, 13], "If": [3, 4, 6, 8, 10, 11], "have": [3, 4, 6, 8, 10, 12, 13], "done": [3, 10, 12], "so": [3, 6, 10, 13], "alreadi": [3, 4, 10], "instal": [3, 8, 10, 13], "autom": 3, "own": [3, 4], "isol": 3, "environ": [3, 14], "standalon": 3, "In": [3, 13], "order": [3, 13, 14], "most": 3, "need": [3, 10, 12, 13, 14], "simpl": [3, 7], "program": 3, "sit": 3, "inbetween": 3, "shown": [3, 4, 14], "diagram": 3, "below": [3, 12], "architectur": [3, 6], "act": 3, "messeng": 3, "forward": 3, "from": [3, 4, 6, 10, 11, 12, 14], "vice": 3, "versa": 3, "howev": [3, 4, 12, 13, 14], "send": [3, 12, 14], "addit": [3, 12, 14], "copi": [3, 10], "each": [3, 4, 6, 8, 9], "local": 3, "tcp": 3, "some": [3, 4, 12, 13], "typic": 3, "anoth": 3, "gener": [3, 4, 12, 13, 14], "broken": 3, "down": [3, 6, 13], "step": [3, 10], "launch": [3, 10], "via": [3, 11, 14], "rather": [3, 4, 6, 11], "than": [3, 4, 6, 8], "directli": [3, 6], "g": [3, 4, 14], "abl": 3, "modifi": [3, 13], "follow": [3, 4, 8, 10, 11, 12, 13, 14], "cmd": 3, "interpret": 3, "anyth": [3, 8], "given": [3, 4, 8, 10, 12, 14], "after": [3, 10, 13], "doubl": 3, "dash": 3, "invok": 3, "By": [3, 4, 8], "default": [3, 4, 13], "attempt": [3, 4, 14], "localhost": [3, 4], "8765": [3, 4], "chang": [3, 4, 6], "host": [3, 4], "port": [3, 4], "argument": 3, "127": 3, "1234": 3, "sinc": 3, "onli": [3, 4, 6, 12], "": [3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "As": [3, 4, 8, 9, 12], "let": [3, 4, 8, 10], "neovim": [3, 8, 9], "esbonio": [3, 12], "nvim": 3, "lspconfig": 3, "standard": [3, 4, 14], "might": 3, "look": [3, 4], "someth": [3, 11, 12, 13, 14], "setup": [3, 8, 9, 10, 12, 13], "filetyp": 3, "rst": 3, "init_opt": 3, "loglevel": 3, "debug": [3, 12, 13], "sphinx": 3, "builddir": 3, "confdir": 3, "_build": 3, "on_attach": 3, "To": [3, 4, 13], "we": [3, 4, 8, 10, 12], "field": [3, 4, 8, 14], "one": [3, 4], "doe": [3, 8, 13, 14], "exist": [3, 4], "includ": [3, 4, 11], "onc": [3, 4, 10, 12, 14], "go": [3, 4, 10], "try": [3, 8, 10], "current": [3, 4, 6, 8, 14], "name": [3, 4, 8, 10], "support": [3, 4, 6, 7, 9, 11, 13], "all": [3, 4, 6, 10], "subset": [3, 4, 6], "print": [3, 4], "direct": [3, 4], "consol": [3, 4], "custom": [3, 4, 13], "content": [3, 4, 6, 11], "termin": 3, "power": [3, 4], "assum": 4, "configur": [4, 8, 13, 14], "either": 4, "receiv": [4, 8, 14], "should": [4, 6, 8, 10, 13], "wait": [4, 11, 13, 14], "json": [4, 7, 14], "pretti": 4, "here": [4, 11, 12], "usag": 4, "mai": [4, 13], "find": [4, 14], "show": 4, "clientcap": [4, 8, 10, 14], "dure": [4, 14], "request": [4, 6, 7, 8, 11, 12, 13, 14], "ad": [4, 6], "pytest": [4, 6, 8, 9, 10, 11, 12, 13], "param": [4, 8, 9, 10, 11, 12, 14], "clientinfo": 4, "v": 4, "n": [4, 8], "replic": 4, "output": 4, "panel": 4, "vscode": 4, "editor": [4, 8], "do": [4, 13], "similar": [4, 11], "facil": 4, "type": [4, 6, 8, 10, 14], "messagetyp": 4, "read": 4, "comprehens": 4, "overview": 4, "line": [4, 8, 10, 11], "other": [4, 7, 8, 12], "behavior": 4, "bind": 4, "p": 4, "open": [4, 10], "filenam": 4, "save": [4, 10], "repres": 4, "complet": [4, 8, 10, 11, 14], "rpc": [4, 7], "produc": 4, "db": 4, "datasett": 4, "browser": 4, "even": 4, "schema": 4, "note": [4, 6, 10], "except": [4, 8, 10, 14], "perhap": 4, "base": [4, 12, 14], "tabl": 4, "stabl": [4, 8, 13], "singl": [4, 6, 8], "store": 4, "data": 4, "within": [4, 6], "expos": [4, 6], "through": [4, 10], "sql": 4, "view": 4, "pars": 4, "out": 4, "relev": 4, "creat": [4, 10], "IF": 4, "NOT": 4, "timestamp": 4, "sourc": [4, 14], "id": 4, "null": [4, 6], "method": [4, 6, 10, 12, 14], "result": [4, 6, 8, 10, 11, 12, 14], "AS": 4, "1000": 4, "durat": 4, "inner": 4, "join": 4, "ON": 4, "AND": 4, "OR": 4, "notif": [4, 11, 12, 14], "rowid": 4, "where": [4, 13], "json_extract": 4, "client_nam": [4, 9], "client_vers": 4, "rooturi": 4, "root_uri": [4, 10], "normal": 4, "addition": 4, "ouput": 4, "export": 4, "featur": [4, 8, 10, 11, 12], "rich": 4, "html": [4, 8, 13], "svg": 4, "txt": [4, 8, 10, 11], "depend": [4, 13], "extens": 4, "render": 4, "imag": 4, "webpag": 4, "screenshot": 4, "document": [4, 6, 8, 11, 14], "lot": 4, "focu": 4, "interest": [4, 8], "valu": [4, 8], "accept": 4, "both": 4, "more": [4, 14], "multipl": [4, 6, 13], "respons": [4, 6, 10, 14], "match": [4, 6, 13], "contain": 4, "success": 4, "code": [4, 8, 10, 12, 13], "exclud": 4, "omit": 4, "them": [4, 8], "list": [4, 14], "thei": [4, 12, 14], "ANDed": 4, "togeth": 4, "been": [4, 6, 8, 10, 13], "These": [4, 14], "appli": 4, "when": [4, 8, 12, 13, 14], "set": [4, 6, 8, 9, 13, 14], "simpli": 4, "suppli": 4, "instead": 4, "mechan": 4, "fit": 4, "re": [4, 13], "especi": 4, "come": 4, "u": [4, 12], "know": 4, "issu": [4, 6, 8, 13], "thought": 4, "improv": 4, "pair": 4, "brace": 4, "denot": 4, "placehold": 4, "insert": 4, "insid": 4, "dot": 4, "separ": 4, "feel": 4, "familiar": 4, "ve": 4, "ever": 4, "jq": 4, "textdocu": [4, 6, 7, 10, 14], "posit": [4, 8, 10, 11], "charact": [4, 8, 10, 11], "uri": [4, 8, 10, 11], "path": [4, 8, 10, 11], "pipe": 4, "symbol": 4, "pass": [4, 8, 10, 12, 13], "arrai": 4, "access": [4, 11, 13], "squar": 4, "bracket": 4, "newlin": 4, "label": [4, 8, 10, 11], "two": [4, 12], "three": 4, "specifi": 4, "index": [4, 11], "rule": 4, "ntwo": 4, "final": 4, "adjust": 4, "rang": [4, 11], "enum": 4, "which": [4, 8, 13], "replac": 4, "correspond": [4, 8, 14], "warn": [4, 8, 13, 14], "fixtur": [6, 7, 8, 10, 13, 14], "yield": [6, 8, 9, 10, 12, 13], "statement": [6, 10], "allow": [6, 8, 12, 13], "definit": 6, "initialis": 6, "shut": 6, "grant": 6, "author": 6, "full": [6, 8], "break": 6, "pr": 6, "47": 6, "ha": [6, 11, 13, 14], "automat": [6, 8, 10, 13, 14], "check": [6, 7], "compat": [6, 13], "detect": [6, 13], "emit": [6, 8], "lspspecificationwarn": [6, 8, 14], "dedic": 6, "check_xxx": 6, "function": [6, 8, 12, 13, 14], "being": 6, "spec": [6, 14], "57": 6, "redefin": [6, 13], "event_loop": [6, 13], "scope": [6, 9, 13], "49": 6, "built": [6, 8], "50": 6, "parameteris": [6, 7], "51": 6, "manag": [6, 12], "event": [6, 7], "loop": [6, 7], "spin": 6, "up": [6, 9, 13], "thread": 6, "much": [6, 10], "simpler": 6, "44": 6, "helper": [6, 14], "completion_request": 6, "notify_did_open": 6, "equival": 6, "specif": [6, 7, 11, 14], "text_document_completion_async": [6, 8, 10, 11], "text_document_did_open": [6, 11], "56": 6, "ensur": [6, 8, 10, 11, 12, 13, 14], "return": [6, 8, 9, 10, 11, 12, 14], "showdocumentresult": 6, "showdocu": [6, 7, 14], "34": 6, "cover": [6, 11], "thank": 6, "autogener": 6, "lsprotocol": [6, 10], "25": 6, "drop": 6, "upgrad": [6, 8, 13], "doesn": 6, "t": [6, 7, 12], "crash": 6, "second": 6, "clientserv": 6, "against": 6, "without": 6, "resend": 6, "actual": 6, "22": 6, "under": [6, 14], "report": [6, 11], "alongsid": 6, "For": [6, 8, 10], "valid": 6, "correctli": [6, 8, 10, 11, 12, 13], "handl": [6, 8, 14], "hover": 6, "documentlink": [6, 14], "v3": 6, "creation": 6, "importlib_resourc": 6, "import": [6, 10, 12, 13], "publishdiagnost": [7, 14], "showmessag": [7, 14], "complianc": [7, 14], "troubleshoot": 7, "my": 7, "won": 7, "scopemismatch": 7, "deprecationwarn": 7, "unclos": 7, "construct": [7, 14], "exchang": 8, "inform": 8, "about": 8, "Of": 8, "particular": 8, "part": 8, "right": 8, "pretend": [8, 9], "adapt": 8, "accordingli": 8, "visual": 8, "studio": 8, "65": 8, "client_cap": [8, 9, 14], "load": [8, 14], "config": [8, 9, 10, 12, 14], "clientserverconfig": [8, 9, 10, 12, 14], "server_command": [8, 9, 10, 12, 14], "sy": [8, 9, 10, 12], "execut": [8, 9, 10, 12], "async": [8, 9, 10, 11, 12, 13, 14], "def": [8, 9, 10, 11, 12, 13], "lsp_client": [8, 9, 10], "await": [8, 9, 10, 11, 12], "initialize_sess": [8, 9, 10, 14], "initializeparam": [8, 9, 10, 14], "teardown": [8, 9, 10, 12], "shutdown_sess": [8, 9, 10, 14], "enabl": 8, "respect": [8, 14], "publish": [8, 11], "found": 8, "modul": [8, 9], "text_document_complet": [8, 10, 11], "l": [8, 10, 11, 12], "languageserv": [8, 10, 11], "completionparam": [8, 10, 11], "completionitem": [8, 10, 11, 14], "greet": 8, "insert_text": 8, "hello": [8, 10], "insert_text_format": 8, "inserttextformat": 8, "snippet": 8, "expand": 8, "sequenc": 8, "world": [8, 10], "confirm": 8, "expect": [8, 9, 13], "text_docu": [8, 10, 11], "textdocumentidentifi": [8, 10, 11], "none": [8, 10, 11, 14], "isinst": [8, 10, 11], "completionlist": [8, 10, 11, 14], "els": [8, 10, 11], "while": [8, 9, 11, 12, 13], "sai": 8, "vanilla": 8, "v0": 8, "though": 8, "mani": 8, "test_client_capabilities0": 8, "doc": [8, 13], "http": [8, 13], "org": [8, 13], "en": [8, 13], "w": 8, "test_client_capabilities_error0": 8, "_________________________________________": [8, 10], "__________________________________________": 8, "result_check": 8, "str": [8, 9, 14], "stacklevel": 8, "site": [8, 10, 13], "73": 8, "16": 8, "ignor": [8, 13], "test_client_capabilities_ignore0": 8, "regular": 9, "same": [9, 10, 13], "differ": [9, 12], "time": 9, "visual_studio_cod": 9, "would": [9, 12], "possibl": [9, 12], "walk": 10, "pip": 10, "befor": 10, "purpos": 10, "ll": [10, 12], "librari": [10, 13], "framework": [10, 12, 13], "past": 10, "abov": [10, 11], "ahead": 10, "directori": 10, "previou": 10, "background": [10, 14], "instanc": [10, 14], "everyth": 10, "shutdown": [10, 14], "close": [10, 13], "With": [10, 12], "place": 10, "defin": [10, 12, 14], "our": [10, 13], "mark": [10, 11, 12, 13], "left": [10, 14], "suit": [10, 13], "tmp": 10, "alex": 10, "38": 10, "test_getting_started_fail0": 10, "21": [10, 13], "________________________________________": 10, "0x7fa2c4168310": 10, "_": 10, "var": 10, "home": [10, 13], "env": 10, "lib64": 10, "python3": [10, 13], "137": 10, "ion": 10, "self": 10, "initialize_async": 10, "349": 10, "send_request_async": [10, 12], "languageclientprotocol": [10, 14], "0x7fa2c417a190": 10, "workspac": 10, "notebook_docu": 10, "No": 10, "root_path": 10, "initialization_opt": 10, "trace": 10, "work_done_token": 10, "e_fold": 10, "super": 10, "cancellederror": 10, "exit": [10, 14], "42": 10, "15": 10, "forgot": [10, 13], "bottom": 10, "__name__": [10, 12], "__main__": [10, 12], "start_io": [10, 12], "again": 10, "user": 10, "lib": [10, 13], "pyproject": [10, 13], "toml": [10, 13], "96": 10, "better": 10, "maintain": 11, "diagnost": [11, 14], "dictionari": 11, "test_diagnost": 11, "test_uri": 11, "didopentextdocumentparam": 11, "textdocumentitem": 11, "language_id": 11, "plaintext": 11, "wait_for_notif": [11, 14], "text_document_publish_diagnost": 11, "There": 11, "abil": 11, "did_open": 11, "publish_diagnost": 11, "10": [11, 13], "log_messag": [11, 14], "attribut": 11, "idx": 11, "enumer": 11, "show_message_log": 11, "append": 11, "shown_docu": [11, 14], "show_document_async": 11, "showdocumentparam": [11, 14], "shown_messag": 11, "show_messag": 11, "primarili": 12, "focus": 12, "reus": [12, 13], "machineri": 12, "intern": 12, "math": 12, "sum": 12, "b": 12, "sub": [12, 14], "don": 12, "realli": 12, "matter": 12, "illustr": 12, "wai": 12, "rememb": 12, "whatev": 12, "prefer": [12, 13], "jsonrpcprotocol": 12, "default_convert": 12, "protocol_cl": [12, 14], "converter_factori": 12, "fm": 12, "notifi": 12, "dict": [12, 14], "total": 12, "subtract": 12, "understand": 12, "factori": [12, 13, 14], "client_factori": [12, 14], "jsonrpcclient": [12, 14], "_on_messag": 12, "rpc_client": 12, "fixutur": 12, "almost": 12, "ident": 12, "test_add": 12, "test_sub": 12, "extend": 12, "higher": 12, "level": 12, "interfac": 12, "subprocesssphinxcli": 12, "encount": [13, 14], "unexpectedli": 13, "skip": 13, "usernam": 13, "strict": 13, "venv": 13, "_pytest": 13, "183": 13, "pytestunhandledcoroutinewarn": 13, "nativ": 13, "suitabl": 13, "anyio": 13, "tornasync": 13, "trio": 13, "twist": 13, "msg": 13, "nodeid": 13, "64": 13, "marker": 13, "ini_opt": 13, "asyncio_mod": 13, "across": 13, "__________________________": 13, "test_cap": 13, "_________________________": 13, "tri": 13, "involv": 13, "201": 13, "the_fixtur": 13, "due": 13, "long": 13, "enough": 13, "fix": 13, "overrid": 13, "polici": 13, "get_event_loop_polici": 13, "new_event_loop": 13, "abount": 13, "pytest_asyncio": 13, "444": 13, "tear": 13, "_unixselectoreventloop": 13, "futur": 13, "longer": 13, "pleas": 13, "sure": 13, "properli": 13, "known": 13, "older": 13, "tbd": 13, "resolv": 13, "upstream": 13, "yet": 13, "itself": 13, "fairli": 13, "mild": 13, "clean": 13, "otherwis": 13, "safe": 13, "becom": 13, "class": 14, "arg": 14, "kwarg": 14, "baselanguagecli": 14, "drive": 14, "paramet": 14, "lanaguag": 14, "respond": 14, "blank": 14, "process_id": 14, "pid": 14, "initializeresult": 14, "report_server_error": 14, "unexpect": 14, "malform": 14, "server_exit": 14, "correct": 14, "fatal": 14, "occur": 14, "block": 14, "until": 14, "hold": 14, "reciev": 14, "indic": 14, "logmessageparam": 14, "showmessageparam": 14, "keep": 14, "track": 14, "fixture_funct": 14, "client_spec": 14, "describ": 14, "make_test_lsp_cli": 14, "server_env": 14, "attr": 14, "callabl": 14, "variabl": 14, "new": 14, "handler": 14, "compliant": 14, "unit": 14, "etc": 14, "take": 14, "account": 14, "rais": 14, "fall": 14, "outsid": 14, "check_completion_item": 14, "commit_characters_support": 14, "documentation_format": 14, "snippet_support": 14, "compli": 14, "bool": 14, "check_result_against_client_cap": 14, "declar": 14, "check_result_for": 14, "maybe_fn": 14, "completion_item_resolv": 14, "capbabl": 14, "completion_item": 14, "document_link": 14, "link": 14}, "objects": {"pytest_lsp": [[14, 0, 1, "", "ClientServerConfig"], [14, 0, 1, "", "LanguageClient"], [14, 3, 0, "-", "checks"], [14, 5, 1, "", "client_capabilities"], [14, 5, 1, "", "fixture"], [14, 5, 1, "", "make_test_lsp_client"]], "pytest_lsp.ClientServerConfig": [[14, 1, 1, "", "client_factory"], [14, 1, 1, "", "server_command"], [14, 1, 1, "", "server_env"], [14, 2, 1, "", "start"]], "pytest_lsp.LanguageClient": [[14, 1, 1, "", "capabilities"], [14, 1, 1, "", "diagnostics"], [14, 1, 1, "", "error"], [14, 2, 1, "", "initialize_session"], [14, 1, 1, "", "log_messages"], [14, 1, 1, "", "messages"], [14, 2, 1, "", "report_server_error"], [14, 2, 1, "", "server_exit"], [14, 1, 1, "", "shown_documents"], [14, 2, 1, "", "shutdown_session"], [14, 2, 1, "", "wait_for_notification"]], "pytest_lsp.checks": [[14, 4, 1, "", "LspSpecificationWarning"], [14, 5, 1, "", "check_completion_item"], [14, 5, 1, "", "check_result_against_client_capabilities"], [14, 5, 1, "", "check_result_for"], [14, 5, 1, "", "completion_item_resolve"], [14, 5, 1, "", "completion_items"], [14, 5, 1, "", "document_links"]], "lsp-devtools-record": [[4, 6, 1, "cmdoption-lsp-devtools-record-exclude-message-type", "--exclude-message-type"], [4, 6, 1, "cmdoption-lsp-devtools-record-exclude-method", "--exclude-method"], [4, 6, 1, "cmdoption-lsp-devtools-record-f", "--format-message"], [4, 6, 1, "cmdoption-lsp-devtools-record-host", "--host"], [4, 6, 1, "cmdoption-lsp-devtools-record-include-message-type", "--include-message-type"], [4, 6, 1, "cmdoption-lsp-devtools-record-include-method", "--include-method"], [4, 6, 1, "cmdoption-lsp-devtools-record-message-source", "--message-source"], [4, 6, 1, "cmdoption-lsp-devtools-record-p", "--port"], [4, 6, 1, "cmdoption-lsp-devtools-record-save-output", "--save-output"], [4, 6, 1, "cmdoption-lsp-devtools-record-to-file", "--to-file"], [4, 6, 1, "cmdoption-lsp-devtools-record-to-sqlite", "--to-sqlite"], [4, 6, 1, "cmdoption-lsp-devtools-record-f", "-f"], [4, 6, 1, "cmdoption-lsp-devtools-record-p", "-p"]]}, "objtypes": {"0": "py:class", "1": "py:attribute", "2": "py:method", "3": "py:module", "4": "py:exception", "5": "py:function", "6": "std:cmdoption"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "attribute", "Python attribute"], "2": ["py", "method", "Python method"], "3": ["py", "module", "Python module"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["std", "cmdoption", "program option"]}, "titleterms": {"lsp": [0, 3], "devtool": 0, "pytest": 0, "changelog": [1, 6], "v0": [1, 6], "1": [1, 6], "2023": [1, 6], "01": [1, 6], "14": [1, 6], "fix": [1, 6], "0": [1, 6], "10": [1, 6], "featur": [1, 6], "misc": [1, 6], "3": [1, 6], "2022": [1, 6], "07": [1, 6], "17": [1, 6], "2": [1, 6], "05": [1, 6], "06": 1, "04": [1, 6], "29": 1, "user": [2, 7], "guid": [2, 7], "get": [3, 10], "start": [3, 10], "did": 3, "you": 3, "sai": 3, "pipx": 3, "The": [3, 12], "agent": 3, "configur": 3, "your": 3, "client": [3, 8, 11, 12], "server": [3, 10, 12], "applic": [3, 5], "record": 4, "session": 4, "exampl": 4, "command": 4, "connect": 4, "option": 4, "altern": 4, "destin": 4, "filter": 4, "messag": 4, "format": 4, "feedback": 4, "want": 4, "formatt": 4, "tui": 5, "19": 6, "doc": 6, "remov": 6, "15": 6, "18": 6, "enhanc": 6, "02": 6, "7": 6, "26": 6, "6": 6, "5": 6, "03": 6, "28": 6, "capabl": 8, "support": 8, "specif": 8, "complianc": 8, "check": [8, 14], "strict": 8, "disabl": 8, "fixtur": [9, 12], "parameteris": 9, "request": 9, "other": 9, "A": [10, 12], "simpl": [10, 12], "languag": [10, 11], "test": [10, 12, 13, 14], "case": [10, 12], "textdocu": 11, "publishdiagnost": 11, "window": 11, "logmessag": 11, "showdocu": 11, "showmessag": 11, "json": 12, "rpc": 12, "construct": 12, "write": 12, "troubleshoot": 13, "my": 13, "won": 13, "t": 13, "run": 13, "scopemismatch": 13, "error": 13, "deprecationwarn": 13, "unclos": 13, "event": 13, "loop": 13, "api": 14, "refer": 14, "languagecli": 14, "setup": 14}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 60}, "alltitles": {"LSP Devtools": [[0, "lsp-devtools"]], "lsp-devtools": [[0, "id1"]], "pytest-lsp": [[0, "pytest-lsp"]], "Changelog": [[1, "changelog"], [6, "changelog"]], "v0.1.1 - 2023-01-14": [[1, "v0-1-1-2023-01-14"]], "Fixes": [[1, "fixes"], [1, "id9"], [6, "fixes"], [6, "id15"], [6, "id24"], [6, "id30"], [6, "id34"], [6, "id35"]], "v0.1.0 - 2023-01-10": [[1, "v0-1-0-2023-01-10"]], "Features": [[1, "features"], [6, "features"], [6, "id11"], [6, "id20"]], "Misc": [[1, "misc"], [1, "id7"], [1, "id11"], [6, "misc"], [6, "id13"], [6, "id18"]], "v0.0.3 - 2022-07-17": [[1, "v0-0-3-2022-07-17"]], "v0.0.2 - 2022-05-06": [[1, "v0-0-2-2022-05-06"]], "v0.0.1 - 2022-04-29": [[1, "v0-0-1-2022-04-29"]], "User Guide": [[2, "user-guide"], [7, "user-guide"]], "Getting Started": [[3, "getting-started"], [10, "getting-started"]], "Did you say pipx?": [[3, null]], "The LSP Agent": [[3, "the-lsp-agent"]], "Configuring your client": [[3, "configuring-your-client"]], "Server Applications": [[3, "server-applications"]], "Recording Sessions": [[4, "recording-sessions"]], "Example Commands": [[4, "example-commands"]], "Connection Options": [[4, "connection-options"]], "Alternate Destinations": [[4, "alternate-destinations"]], "Filtering Messages": [[4, "filtering-messages"]], "Formatting messages": [[4, "formatting-messages"]], "Feedback Wanted!": [[4, null]], "Formatters": [[4, "formatters"]], "TUI Application": [[5, "tui-application"]], "v0.3.0 - 2023-05-19": [[6, "v0-3-0-2023-05-19"]], "Docs": [[6, "docs"]], "Removed": [[6, "removed"], [6, "id32"]], "v0.2.1 - 2023-01-14": [[6, "v0-2-1-2023-01-14"]], "v0.2.0 - 2023-01-10": [[6, "v0-2-0-2023-01-10"]], "v0.1.3 - 2022-10-15": [[6, "v0-1-3-2022-10-15"]], "v0.1.2 - 2022-07-18": [[6, "v0-1-2-2022-07-18"]], "Enhancements": [[6, "enhancements"], [6, "id22"], [6, "id26"], [6, "id28"]], "v0.1.1 - 2022-07-17": [[6, "v0-1-1-2022-07-17"]], "v0.1.0 - 2022-07-02": [[6, "v0-1-0-2022-07-02"]], "v0.0.7 - 2022-05-26": [[6, "v0-0-7-2022-05-26"]], "v0.0.6 - 2022-04-18": [[6, "v0-0-6-2022-04-18"]], "v0.0.5 - 2022-04-02": [[6, "v0-0-5-2022-04-02"]], "v0.0.3 - 2022-03-28": [[6, "v0-0-3-2022-03-28"], [6, "id33"]], "v0.0.2 - 2022-03-28": [[6, "v0-0-2-2022-03-28"]], "v0.0.1 - 2022-03-28": [[6, "v0-0-1-2022-03-28"]], "Client Capabilities": [[8, "client-capabilities"]], "Supported Clients": [[8, "supported-clients"]], "Specification Compliance Checks": [[8, "specification-compliance-checks"]], "Strict Checks": [[8, "strict-checks"]], "Disabling Checks": [[8, "disabling-checks"]], "Fixtures": [[9, "fixtures"]], "Parameterised Fixtures": [[9, "parameterised-fixtures"]], "Requesting Other Fixtures": [[9, "requesting-other-fixtures"]], "A Simple Language Server": [[10, "a-simple-language-server"]], "A Simple Test Case": [[10, "a-simple-test-case"]], "Language Client": [[11, "language-client"]], "textDocument/publishDiagnostics": [[11, "textdocument-publishdiagnostics"]], "window/logMessage": [[11, "window-logmessage"]], "window/showDocument": [[11, "window-showdocument"]], "window/showMessage": [[11, "window-showmessage"]], "Testing JSON-RPC Servers": [[12, "testing-json-rpc-servers"]], "A Simple JSON-RPC Server": [[12, "a-simple-json-rpc-server"]], "Constructing a Client": [[12, "constructing-a-client"]], "The Client Fixture": [[12, "the-client-fixture"]], "Writing Test Cases": [[12, "writing-test-cases"]], "Troubleshooting": [[13, "troubleshooting"]], "My tests won\u2019t run!": [[13, "my-tests-won-t-run"]], "ScopeMismatch Error": [[13, "scopemismatch-error"]], "DeprecationWarning: Unclosed event loop": [[13, "deprecationwarning-unclosed-event-loop"]], "API Reference": [[14, "api-reference"]], "LanguageClient": [[14, "languageclient"]], "Test Setup": [[14, "test-setup"]], "Checks": [[14, "module-pytest_lsp.checks"]]}, "indexentries": {"--exclude-message-type": [[4, "cmdoption-lsp-devtools-record-exclude-message-type"]], "--exclude-method": [[4, "cmdoption-lsp-devtools-record-exclude-method"]], "--format-message": [[4, "cmdoption-lsp-devtools-record-f"]], "--host": [[4, "cmdoption-lsp-devtools-record-host"]], "--include-message-type": [[4, "cmdoption-lsp-devtools-record-include-message-type"]], "--include-method": [[4, "cmdoption-lsp-devtools-record-include-method"]], "--message-source": [[4, "cmdoption-lsp-devtools-record-message-source"]], "--port": [[4, "cmdoption-lsp-devtools-record-p"]], "--save-output": [[4, "cmdoption-lsp-devtools-record-save-output"]], "--to-file": [[4, "cmdoption-lsp-devtools-record-to-file"]], "--to-sqlite": [[4, "cmdoption-lsp-devtools-record-to-sqlite"]], "-f": [[4, "cmdoption-lsp-devtools-record-f"]], "-p": [[4, "cmdoption-lsp-devtools-record-p"]], "lsp-devtools-record command line option": [[4, "cmdoption-lsp-devtools-record-exclude-message-type"], [4, "cmdoption-lsp-devtools-record-exclude-method"], [4, "cmdoption-lsp-devtools-record-f"], [4, "cmdoption-lsp-devtools-record-host"], [4, "cmdoption-lsp-devtools-record-include-message-type"], [4, "cmdoption-lsp-devtools-record-include-method"], [4, "cmdoption-lsp-devtools-record-message-source"], [4, "cmdoption-lsp-devtools-record-p"], [4, "cmdoption-lsp-devtools-record-save-output"], [4, "cmdoption-lsp-devtools-record-to-file"], [4, "cmdoption-lsp-devtools-record-to-sqlite"]], "clientserverconfig (class in pytest_lsp)": [[14, "pytest_lsp.ClientServerConfig"]], "languageclient (class in pytest_lsp)": [[14, "pytest_lsp.LanguageClient"]], "lspspecificationwarning": [[14, "pytest_lsp.checks.LspSpecificationWarning"]], "capabilities (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.capabilities"]], "check_completion_item() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_completion_item"]], "check_result_against_client_capabilities() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_result_against_client_capabilities"]], "check_result_for() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_result_for"]], "client_capabilities() (in module pytest_lsp)": [[14, "pytest_lsp.client_capabilities"]], "client_factory (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.client_factory"]], "completion_item_resolve() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.completion_item_resolve"]], "completion_items() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.completion_items"]], "diagnostics (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.diagnostics"]], "document_links() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.document_links"]], "error (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.error"]], "fixture() (in module pytest_lsp)": [[14, "pytest_lsp.fixture"]], "initialize_session() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.initialize_session"]], "log_messages (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.log_messages"]], "make_test_lsp_client() (in module pytest_lsp)": [[14, "pytest_lsp.make_test_lsp_client"]], "messages (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.messages"]], "module": [[14, "module-pytest_lsp.checks"]], "pytest_lsp.checks": [[14, "module-pytest_lsp.checks"]], "report_server_error() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.report_server_error"]], "server_command (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.server_command"]], "server_env (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.server_env"]], "server_exit() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.server_exit"]], "shown_documents (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.shown_documents"]], "shutdown_session() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.shutdown_session"]], "start() (pytest_lsp.clientserverconfig method)": [[14, "pytest_lsp.ClientServerConfig.start"]], "wait_for_notification() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.wait_for_notification"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["index", "lsp-devtools/changelog", "lsp-devtools/guide", "lsp-devtools/guide/getting-started", "lsp-devtools/guide/record-command", "lsp-devtools/guide/tui-command", "pytest-lsp/changelog", "pytest-lsp/guide", "pytest-lsp/guide/client-capabilities", "pytest-lsp/guide/fixtures", "pytest-lsp/guide/getting-started", "pytest-lsp/guide/language-client", "pytest-lsp/guide/testing-json-rpc-servers", "pytest-lsp/guide/troubleshooting", "pytest-lsp/reference"], "filenames": ["index.rst", "lsp-devtools/changelog.rst", "lsp-devtools/guide.rst", "lsp-devtools/guide/getting-started.rst", "lsp-devtools/guide/record-command.rst", "lsp-devtools/guide/tui-command.rst", "pytest-lsp/changelog.rst", "pytest-lsp/guide.rst", "pytest-lsp/guide/client-capabilities.rst", "pytest-lsp/guide/fixtures.rst", "pytest-lsp/guide/getting-started.rst", "pytest-lsp/guide/language-client.rst", "pytest-lsp/guide/testing-json-rpc-servers.rst", "pytest-lsp/guide/troubleshooting.rst", "pytest-lsp/reference.rst"], "titles": ["LSP Devtools", "Changelog", "User Guide", "Getting Started", "Recording Sessions", "TUI Application", "Changelog", "User Guide", "Client Capabilities", "Fixtures", "Getting Started", "Language Client", "Testing JSON-RPC Servers", "Troubleshooting", "API Reference"], "terms": {"The": [0, 2, 4, 6, 7, 8, 10, 11, 14], "project": [0, 10, 12, 13], "provid": [0, 3, 4, 6, 12, 13], "number": [0, 1, 4, 12], "tool": [0, 3, 4, 13], "aim": 0, "make": [0, 8, 13, 14], "process": [0, 3, 10, 14], "develop": 0, "languag": [0, 3, 4, 7, 8, 12, 14], "server": [0, 1, 2, 4, 6, 7, 8, 9, 11, 13, 14], "client": [0, 1, 4, 6, 7, 9, 10, 13, 14], "easier": [0, 8], "packag": [0, 1, 3, 6, 8, 10, 13], "collect": [0, 4, 8, 10, 11, 13], "cli": 0, "util": 0, "help": [0, 4, 9, 12], "inspect": 0, "visualis": 0, "interact": [0, 3], "between": [0, 1, 4, 12], "see": [0, 3, 4, 6, 8, 12, 14], "get": [0, 2, 4, 6, 7], "start": [0, 2, 4, 6, 7, 8, 11, 13, 14], "guid": [0, 3, 4, 6, 10], "detail": [0, 3, 4, 6, 8, 12, 14], "i": [0, 1, 3, 4, 6, 8, 10, 11, 12, 13, 14], "plugin": [0, 6, 8, 10, 11, 13], "write": [0, 7, 8, 10], "end": [0, 4, 11, 14], "test": [0, 6, 7, 8, 9, 11], "session": [0, 2, 3, 6, 8, 10, 11, 13], "platform": [0, 8, 10, 11, 13], "linux": [0, 8, 10, 11, 13], "python": [0, 3, 4, 6, 8, 10, 11, 13], "3": [0, 3, 4, 8, 10, 11, 12, 13], "11": [0, 6, 8, 10, 11], "2": [0, 4, 8, 10, 11, 12, 13], "7": [0, 1, 8, 10, 11, 13], "0": [0, 3, 4, 8, 10, 11, 13], "pluggi": [0, 8, 10, 11, 13], "1": [0, 3, 4, 8, 10, 11, 12, 13], "rootdir": [0, 8, 10, 11, 13], "configfil": [0, 8, 10, 11], "tox": [0, 8, 10, 11], "ini": [0, 8, 10, 11], "typeguard": [0, 8, 10, 11, 13], "13": [0, 8, 10, 11], "asyncio": [0, 6, 8, 10, 11, 12, 13], "20": [0, 8, 10, 11], "mode": [0, 8, 10, 11, 13], "auto": [0, 8, 10, 11, 13], "item": [0, 4, 8, 10, 11, 13, 14], "test_serv": [0, 8, 10, 11, 13], "py": [0, 6, 8, 9, 10, 11, 12, 13], "f": [0, 4, 8, 11, 12], "100": [0, 8, 10, 11, 13], "failur": [0, 6, 8, 11], "____________________________________": [0, 11], "test_complet": [0, 8, 10, 11, 13], "_____________________________________": [0, 11], "pytest_lsp": [0, 6, 8, 9, 10, 11, 12, 13, 14], "languagecli": [0, 6, 8, 9, 10, 11, 13], "object": [0, 4, 10, 11, 13, 14], "0x7f38f144a690": [0, 11], "e": [0, 3, 4, 8, 10, 11, 14], "assert": [0, 6, 8, 10, 11, 12], "fals": [0, 8, 11, 13], "35": [0, 8, 11], "assertionerror": [0, 8, 11], "captur": [0, 4, 6, 8, 11, 13, 14], "window": [0, 4, 6, 7, 10, 14], "logmessag": [0, 4, 6, 7, 14], "call": [0, 8, 10, 11, 14], "log": [0, 4, 11, 12], "suggest": [0, 3, 4, 11], "4": [0, 4, 6, 8, 11], "5": [0, 11, 13], "6": [0, 1, 8, 11, 13], "8": [0, 6, 11], "9": [0, 6, 11], "short": [0, 8, 10, 11], "summari": [0, 8, 10, 11, 13], "info": [0, 4, 8, 10, 11, 12], "fail": [0, 8, 11], "02": [0, 8, 11], "It": [0, 1, 13, 14], "work": [0, 6, 8, 10, 13], "run": [0, 4, 7, 8, 9, 10, 14], "subprocess": 0, "commun": [0, 12], "over": [0, 3, 6], "stdio": 0, "just": [0, 12], "like": [0, 3, 4, 6, 9, 13], "real": [0, 4], "thi": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "also": [0, 1, 3, 4, 11, 12, 14], "mean": 0, "can": [0, 3, 4, 8, 9, 10, 12, 13, 14], "us": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "written": [0, 3, 6, 10, 12], "ani": [0, 3, 4, 6, 8, 10, 11, 12, 13, 14], "reli": [0, 6], "pygl": [0, 1, 6, 10, 12, 13], "its": [0, 6, 11, 13], "protocol": [0, 4, 10, 12], "implement": [0, 1, 6, 8, 10, 11, 12, 13], "how": [0, 1, 4, 8, 12, 13], "your": [0, 4, 9, 10, 12, 13, 14], "first": [0, 6, 10], "case": [0, 4, 7, 11, 13], "pypi": 1, "33": 1, "updat": [1, 3], "record": [1, 2, 3, 11], "command": [1, 2, 3, 14], "now": [1, 6, 10], "capabl": [1, 3, 4, 6, 7, 9, 10, 14], "live": [1, 13], "stream": 1, "messag": [1, 2, 3, 6, 11, 12, 14], "sent": [1, 4, 11], "stdout": 1, "plain": [1, 4], "text": [1, 3, 4, 11], "file": [1, 3, 4, 6, 8, 10, 11], "sqlite": [1, 3, 4], "databas": [1, 3, 4], "offer": 1, "filter": [1, 2, 3, 8], "select": [1, 4, 8], "you": [1, 4, 8, 9, 10, 12, 13], "wish": [1, 8], "well": [1, 4], "wip": 1, "format": [1, 2, 3, 13], "string": [1, 4, 14], "syntax": [1, 4, 8], "control": [1, 6, 8], "ar": [1, 4, 6, 8, 11, 12, 13, 14], "26": 1, "add": [1, 3, 6, 10, 12, 13], "tui": [1, 2, 3, 4], "A": [1, 7, 14], "proof": 1, "concept": 1, "devtool": [1, 3, 4, 10], "textual": [1, 3], "lsp": [1, 2, 4, 6, 8, 10, 11, 12, 13], "requir": [1, 3, 6], "wrap": [1, 3, 4], "an": [1, 3, 4, 6, 8, 11, 12, 13, 14], "agent": [1, 2, 4], "27": 1, "migrat": [1, 6], "v1": [1, 10, 13], "remov": 1, "upper": [1, 6], "bound": [1, 6], "version": [1, 4, 6, 8, 11, 13], "mypi": 1, "error": [1, 4, 7, 8, 10, 11, 14], "initi": [1, 4, 6, 8, 10, 14], "releas": [1, 4, 6], "applic": [2, 4], "exampl": [2, 3, 6, 8, 10, 12, 13], "connect": [2, 3, 6, 10, 12, 13, 14], "option": [2, 13], "altern": [2, 8, 13], "destin": 2, "introduc": 3, "avail": [3, 4, 13], "If": [3, 4, 6, 8, 10, 11], "have": [3, 4, 6, 8, 10, 12, 13], "done": [3, 10, 12], "so": [3, 6, 10, 13], "alreadi": [3, 4, 10], "instal": [3, 8, 10, 13], "autom": 3, "own": [3, 4], "isol": 3, "environ": [3, 14], "standalon": 3, "In": [3, 13], "order": [3, 13, 14], "most": 3, "need": [3, 10, 12, 13, 14], "simpl": [3, 7], "program": 3, "sit": 3, "inbetween": 3, "shown": [3, 4, 14], "diagram": 3, "below": [3, 12], "architectur": [3, 6], "act": 3, "messeng": 3, "forward": 3, "from": [3, 4, 6, 10, 11, 12, 14], "vice": 3, "versa": 3, "howev": [3, 4, 12, 13, 14], "send": [3, 12, 14], "addit": [3, 12, 14], "copi": [3, 10], "each": [3, 4, 6, 8, 9], "local": 3, "tcp": 3, "some": [3, 4, 12, 13], "typic": 3, "anoth": 3, "gener": [3, 4, 12, 13, 14], "broken": 3, "down": [3, 6, 13], "step": [3, 10], "launch": [3, 10], "via": [3, 11, 14], "rather": [3, 4, 6, 11], "than": [3, 4, 6, 8], "directli": [3, 6], "g": [3, 4, 14], "abl": 3, "modifi": [3, 13], "follow": [3, 4, 8, 10, 11, 12, 13, 14], "cmd": 3, "interpret": 3, "anyth": [3, 8], "given": [3, 4, 8, 10, 12, 14], "after": [3, 10, 13], "doubl": 3, "dash": 3, "invok": 3, "By": [3, 4, 8], "default": [3, 4, 13], "attempt": [3, 4, 14], "localhost": [3, 4], "8765": [3, 4], "chang": [3, 4, 6], "host": [3, 4], "port": [3, 4], "argument": 3, "127": 3, "1234": 3, "sinc": 3, "onli": [3, 4, 6, 12], "": [3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "As": [3, 4, 8, 9, 12], "let": [3, 4, 8, 10], "neovim": [3, 8, 9], "esbonio": [3, 12], "nvim": 3, "lspconfig": 3, "standard": [3, 4, 14], "might": 3, "look": [3, 4], "someth": [3, 11, 12, 13, 14], "setup": [3, 8, 9, 10, 12, 13], "filetyp": 3, "rst": 3, "init_opt": 3, "loglevel": 3, "debug": [3, 12, 13], "sphinx": 3, "builddir": 3, "confdir": 3, "_build": 3, "on_attach": 3, "To": [3, 4, 13], "we": [3, 4, 8, 10, 12], "field": [3, 4, 8, 14], "one": [3, 4], "doe": [3, 8, 13, 14], "exist": [3, 4], "includ": [3, 4, 11], "onc": [3, 4, 10, 12, 14], "go": [3, 4, 10], "try": [3, 8, 10], "current": [3, 4, 6, 8, 14], "name": [3, 4, 8, 10], "support": [3, 4, 6, 7, 9, 11, 13], "all": [3, 4, 6, 10], "subset": [3, 4, 6], "print": [3, 4], "direct": [3, 4], "consol": [3, 4], "custom": [3, 4, 13], "content": [3, 4, 6, 11], "termin": 3, "power": [3, 4], "assum": 4, "configur": [4, 8, 13, 14], "either": 4, "receiv": [4, 8, 14], "should": [4, 6, 8, 10, 13], "wait": [4, 11, 13, 14], "json": [4, 7, 14], "pretti": 4, "here": [4, 11, 12], "usag": 4, "mai": [4, 13], "find": [4, 14], "show": 4, "clientcap": [4, 8, 10, 14], "dure": [4, 14], "request": [4, 6, 7, 8, 11, 12, 13, 14], "ad": [4, 6], "pytest": [4, 6, 8, 9, 10, 11, 12, 13], "param": [4, 8, 9, 10, 11, 12, 14], "clientinfo": 4, "v": 4, "n": [4, 8], "replic": 4, "output": 4, "panel": 4, "vscode": 4, "editor": [4, 8], "do": [4, 13], "similar": [4, 11], "facil": 4, "type": [4, 6, 8, 10, 14], "messagetyp": 4, "read": 4, "comprehens": 4, "overview": 4, "line": [4, 8, 10, 11], "other": [4, 7, 8, 12], "behavior": 4, "bind": 4, "p": 4, "open": [4, 10], "filenam": 4, "save": [4, 10], "repres": 4, "complet": [4, 8, 10, 11, 14], "rpc": [4, 7], "produc": 4, "db": 4, "datasett": 4, "browser": 4, "even": 4, "schema": 4, "note": [4, 6, 10], "except": [4, 8, 10, 14], "perhap": 4, "base": [4, 12, 14], "tabl": 4, "stabl": [4, 8, 13], "singl": [4, 6, 8], "store": 4, "data": 4, "within": [4, 6], "expos": [4, 6], "through": [4, 10], "sql": 4, "view": 4, "pars": 4, "out": 4, "relev": 4, "creat": [4, 10], "IF": 4, "NOT": 4, "timestamp": 4, "sourc": [4, 14], "id": 4, "null": [4, 6], "method": [4, 6, 10, 12, 14], "result": [4, 6, 8, 10, 11, 12, 14], "AS": 4, "1000": 4, "durat": 4, "inner": 4, "join": 4, "ON": 4, "AND": 4, "OR": 4, "notif": [4, 11, 12, 14], "rowid": 4, "where": [4, 13], "json_extract": 4, "client_nam": [4, 9], "client_vers": 4, "rooturi": 4, "root_uri": [4, 10], "workspacefold": 4, "workspace_fold": 4, "normal": 4, "addition": 4, "ouput": 4, "export": 4, "featur": [4, 8, 10, 11, 12], "rich": 4, "html": [4, 8, 13], "svg": 4, "txt": [4, 8, 10, 11], "depend": [4, 13], "extens": 4, "render": 4, "imag": 4, "webpag": 4, "screenshot": 4, "document": [4, 6, 8, 11, 14], "lot": 4, "focu": 4, "interest": [4, 8], "valu": [4, 8], "accept": 4, "both": 4, "more": [4, 14], "multipl": [4, 6, 13], "respons": [4, 6, 10, 14], "match": [4, 6, 13], "contain": 4, "success": 4, "code": [4, 8, 10, 12, 13], "exclud": 4, "omit": 4, "them": [4, 8], "list": [4, 14], "thei": [4, 12, 14], "ANDed": 4, "togeth": 4, "been": [4, 6, 8, 10, 13], "These": [4, 14], "appli": 4, "when": [4, 8, 12, 13, 14], "set": [4, 6, 8, 9, 13, 14], "simpli": 4, "suppli": 4, "instead": 4, "mechan": 4, "fit": 4, "re": [4, 13], "especi": 4, "come": 4, "u": [4, 12], "know": 4, "issu": [4, 6, 8, 13], "thought": 4, "improv": 4, "pair": 4, "brace": 4, "denot": 4, "placehold": 4, "insert": 4, "insid": 4, "dot": 4, "separ": 4, "feel": 4, "familiar": 4, "ve": 4, "ever": 4, "jq": 4, "textdocu": [4, 6, 7, 10, 14], "posit": [4, 8, 10, 11], "charact": [4, 8, 10, 11], "uri": [4, 8, 10, 11], "path": [4, 8, 10, 11], "pipe": 4, "symbol": 4, "pass": [4, 8, 10, 12, 13], "arrai": 4, "access": [4, 11, 13], "squar": 4, "bracket": 4, "newlin": 4, "label": [4, 8, 10, 11], "two": [4, 12], "three": 4, "specifi": 4, "index": [4, 11], "rule": 4, "ntwo": 4, "final": 4, "adjust": 4, "rang": [4, 11], "enum": 4, "which": [4, 8, 13], "replac": 4, "correspond": [4, 8, 14], "warn": [4, 8, 13, 14], "fixtur": [6, 7, 8, 10, 13, 14], "yield": [6, 8, 9, 10, 12, 13], "statement": [6, 10], "allow": [6, 8, 12, 13], "definit": 6, "initialis": 6, "shut": 6, "grant": 6, "author": 6, "full": [6, 8], "break": 6, "pr": 6, "47": 6, "ha": [6, 11, 13, 14], "automat": [6, 8, 10, 13, 14], "check": [6, 7], "compat": [6, 13], "detect": [6, 13], "emit": [6, 8], "lspspecificationwarn": [6, 8, 14], "dedic": 6, "check_xxx": 6, "function": [6, 8, 12, 13, 14], "being": 6, "spec": [6, 14], "57": 6, "redefin": [6, 13], "event_loop": [6, 13], "scope": [6, 9, 13], "49": 6, "built": [6, 8], "50": 6, "parameteris": [6, 7], "51": 6, "manag": [6, 12], "event": [6, 7], "loop": [6, 7], "spin": 6, "up": [6, 9, 13], "thread": 6, "much": [6, 10], "simpler": 6, "44": 6, "helper": [6, 14], "completion_request": 6, "notify_did_open": 6, "equival": 6, "specif": [6, 7, 11, 14], "text_document_completion_async": [6, 8, 10, 11], "text_document_did_open": [6, 11], "56": 6, "ensur": [6, 8, 10, 11, 12, 13, 14], "return": [6, 8, 9, 10, 11, 12, 14], "showdocumentresult": 6, "showdocu": [6, 7, 14], "34": 6, "cover": [6, 11], "thank": 6, "autogener": 6, "lsprotocol": [6, 10], "25": 6, "drop": 6, "upgrad": [6, 8, 13], "doesn": 6, "t": [6, 7, 12], "crash": 6, "second": 6, "clientserv": 6, "against": 6, "without": 6, "resend": 6, "actual": 6, "22": 6, "under": [6, 14], "report": [6, 11], "alongsid": 6, "For": [6, 8, 10], "valid": 6, "correctli": [6, 8, 10, 11, 12, 13], "handl": [6, 8, 14], "hover": 6, "documentlink": [6, 14], "v3": 6, "creation": 6, "importlib_resourc": 6, "import": [6, 10, 12, 13], "publishdiagnost": [7, 14], "showmessag": [7, 14], "complianc": [7, 14], "troubleshoot": 7, "my": 7, "won": 7, "scopemismatch": 7, "deprecationwarn": 7, "unclos": 7, "construct": [7, 14], "exchang": 8, "inform": 8, "about": 8, "Of": 8, "particular": 8, "part": 8, "right": 8, "pretend": [8, 9], "adapt": 8, "accordingli": 8, "visual": 8, "studio": 8, "65": 8, "client_cap": [8, 9, 14], "load": [8, 14], "config": [8, 9, 10, 12, 14], "clientserverconfig": [8, 9, 10, 12, 14], "server_command": [8, 9, 10, 12, 14], "sy": [8, 9, 10, 12], "execut": [8, 9, 10, 12], "async": [8, 9, 10, 11, 12, 13, 14], "def": [8, 9, 10, 11, 12, 13], "lsp_client": [8, 9, 10], "await": [8, 9, 10, 11, 12], "initialize_sess": [8, 9, 10, 14], "initializeparam": [8, 9, 10, 14], "teardown": [8, 9, 10, 12], "shutdown_sess": [8, 9, 10, 14], "enabl": 8, "respect": [8, 14], "publish": [8, 11], "found": 8, "modul": [8, 9], "text_document_complet": [8, 10, 11], "l": [8, 10, 11, 12], "languageserv": [8, 10, 11], "completionparam": [8, 10, 11], "completionitem": [8, 10, 11, 14], "greet": 8, "insert_text": 8, "hello": [8, 10], "insert_text_format": 8, "inserttextformat": 8, "snippet": 8, "expand": 8, "sequenc": 8, "world": [8, 10], "confirm": 8, "expect": [8, 9, 13], "text_docu": [8, 10, 11], "textdocumentidentifi": [8, 10, 11], "none": [8, 10, 11, 14], "isinst": [8, 10, 11], "completionlist": [8, 10, 11, 14], "els": [8, 10, 11], "while": [8, 9, 11, 12, 13], "sai": 8, "vanilla": 8, "v0": 8, "though": 8, "mani": 8, "test_client_capabilities0": 8, "doc": [8, 13], "http": [8, 13], "org": [8, 13], "en": [8, 13], "w": 8, "test_client_capabilities_error0": 8, "_________________________________________": [8, 10], "__________________________________________": 8, "result_check": 8, "str": [8, 9, 14], "stacklevel": 8, "site": [8, 10, 13], "73": 8, "16": 8, "ignor": [8, 13], "test_client_capabilities_ignore0": 8, "regular": 9, "same": [9, 10, 13], "differ": [9, 12], "time": 9, "visual_studio_cod": 9, "would": [9, 12], "possibl": [9, 12], "walk": 10, "pip": 10, "befor": 10, "purpos": 10, "ll": [10, 12], "librari": [10, 13], "framework": [10, 12, 13], "past": 10, "abov": [10, 11], "ahead": 10, "directori": 10, "previou": 10, "background": [10, 14], "instanc": [10, 14], "everyth": 10, "shutdown": [10, 14], "close": [10, 13], "With": [10, 12], "place": 10, "defin": [10, 12, 14], "our": [10, 13], "mark": [10, 11, 12, 13], "left": [10, 14], "suit": [10, 13], "tmp": 10, "alex": 10, "38": 10, "test_getting_started_fail0": 10, "21": [10, 13], "________________________________________": 10, "0x7fa2c4168310": 10, "_": 10, "var": 10, "home": [10, 13], "env": 10, "lib64": 10, "python3": [10, 13], "137": 10, "ion": 10, "self": 10, "initialize_async": 10, "349": 10, "send_request_async": [10, 12], "languageclientprotocol": 10, "0x7fa2c417a190": 10, "workspac": 10, "notebook_docu": 10, "No": 10, "root_path": 10, "initialization_opt": 10, "trace": 10, "work_done_token": 10, "e_fold": 10, "super": 10, "cancellederror": 10, "exit": [10, 14], "42": 10, "15": 10, "forgot": [10, 13], "bottom": 10, "__name__": [10, 12], "__main__": [10, 12], "start_io": [10, 12], "again": 10, "user": 10, "lib": [10, 13], "pyproject": [10, 13], "toml": [10, 13], "96": 10, "better": 10, "maintain": 11, "diagnost": [11, 14], "dictionari": 11, "test_diagnost": 11, "test_uri": 11, "didopentextdocumentparam": 11, "textdocumentitem": 11, "language_id": 11, "plaintext": 11, "wait_for_notif": [11, 14], "text_document_publish_diagnost": 11, "There": 11, "abil": 11, "did_open": 11, "publish_diagnost": 11, "10": [11, 13], "log_messag": [11, 14], "attribut": 11, "idx": 11, "enumer": 11, "show_message_log": 11, "append": 11, "shown_docu": [11, 14], "show_document_async": 11, "showdocumentparam": [11, 14], "shown_messag": 11, "show_messag": 11, "primarili": 12, "focus": 12, "reus": [12, 13], "machineri": 12, "intern": 12, "math": 12, "sum": 12, "b": 12, "sub": [12, 14], "don": 12, "realli": 12, "matter": 12, "illustr": 12, "wai": 12, "rememb": 12, "whatev": 12, "prefer": [12, 13], "jsonrpcprotocol": 12, "default_convert": 12, "protocol_cl": 12, "converter_factori": 12, "fm": 12, "notifi": 12, "dict": [12, 14], "total": 12, "subtract": 12, "understand": 12, "factori": [12, 13, 14], "client_factori": [12, 14], "jsonrpcclient": [12, 14], "_on_messag": 12, "rpc_client": 12, "fixutur": 12, "almost": 12, "ident": 12, "test_add": 12, "test_sub": 12, "extend": 12, "higher": 12, "level": 12, "interfac": 12, "subprocesssphinxcli": 12, "encount": [13, 14], "unexpectedli": 13, "skip": 13, "usernam": 13, "strict": 13, "venv": 13, "_pytest": 13, "183": 13, "pytestunhandledcoroutinewarn": 13, "nativ": 13, "suitabl": 13, "anyio": 13, "tornasync": 13, "trio": 13, "twist": 13, "msg": 13, "nodeid": 13, "64": 13, "marker": 13, "ini_opt": 13, "asyncio_mod": 13, "across": 13, "__________________________": 13, "test_cap": 13, "_________________________": 13, "tri": 13, "involv": 13, "201": 13, "the_fixtur": 13, "due": 13, "long": 13, "enough": 13, "fix": 13, "overrid": 13, "polici": 13, "get_event_loop_polici": 13, "new_event_loop": 13, "abount": 13, "pytest_asyncio": 13, "444": 13, "tear": 13, "_unixselectoreventloop": 13, "futur": 13, "longer": 13, "pleas": 13, "sure": 13, "properli": 13, "known": 13, "older": 13, "newer": 13, "resolv": 13, "upstream": 13, "yet": 13, "itself": 13, "fairli": 13, "mild": 13, "clean": 13, "otherwis": 13, "safe": 13, "becom": 13, "class": 14, "arg": 14, "kwarg": 14, "baselanguagecli": 14, "drive": 14, "lanaguag": 14, "respond": 14, "paramet": 14, "blank": 14, "process_id": 14, "pid": 14, "initializeresult": 14, "report_server_error": 14, "unexpect": 14, "malform": 14, "pyglserror": 14, "jsonrpcexcept": 14, "server_exit": 14, "correct": 14, "fatal": 14, "occur": 14, "block": 14, "until": 14, "hold": 14, "reciev": 14, "indic": 14, "logmessageparam": 14, "showmessageparam": 14, "keep": 14, "track": 14, "fixture_funct": 14, "client_spec": 14, "describ": 14, "make_test_lsp_cli": 14, "server_env": 14, "attr": 14, "callabl": 14, "variabl": 14, "new": 14, "handler": 14, "compliant": 14, "unit": 14, "etc": 14, "take": 14, "account": 14, "rais": 14, "fall": 14, "outsid": 14, "check_completion_item": 14, "commit_characters_support": 14, "documentation_format": 14, "snippet_support": 14, "compli": 14, "bool": 14, "check_result_against_client_cap": 14, "declar": 14, "check_result_for": 14, "maybe_fn": 14, "completion_item_resolv": 14, "capbabl": 14, "completion_item": 14, "document_link": 14, "link": 14}, "objects": {"pytest_lsp": [[14, 0, 1, "", "ClientServerConfig"], [14, 0, 1, "", "LanguageClient"], [14, 3, 0, "-", "checks"], [14, 5, 1, "", "client_capabilities"], [14, 5, 1, "", "fixture"], [14, 5, 1, "", "make_test_lsp_client"]], "pytest_lsp.ClientServerConfig": [[14, 1, 1, "", "client_factory"], [14, 1, 1, "", "server_command"], [14, 1, 1, "", "server_env"], [14, 2, 1, "", "start"]], "pytest_lsp.LanguageClient": [[14, 1, 1, "", "capabilities"], [14, 1, 1, "", "diagnostics"], [14, 1, 1, "", "error"], [14, 2, 1, "", "initialize_session"], [14, 1, 1, "", "log_messages"], [14, 1, 1, "", "messages"], [14, 2, 1, "", "report_server_error"], [14, 2, 1, "", "server_exit"], [14, 1, 1, "", "shown_documents"], [14, 2, 1, "", "shutdown_session"], [14, 2, 1, "", "wait_for_notification"]], "pytest_lsp.checks": [[14, 4, 1, "", "LspSpecificationWarning"], [14, 5, 1, "", "check_completion_item"], [14, 5, 1, "", "check_result_against_client_capabilities"], [14, 5, 1, "", "check_result_for"], [14, 5, 1, "", "completion_item_resolve"], [14, 5, 1, "", "completion_items"], [14, 5, 1, "", "document_links"]], "lsp-devtools-record": [[4, 6, 1, "cmdoption-lsp-devtools-record-exclude-message-type", "--exclude-message-type"], [4, 6, 1, "cmdoption-lsp-devtools-record-exclude-method", "--exclude-method"], [4, 6, 1, "cmdoption-lsp-devtools-record-f", "--format-message"], [4, 6, 1, "cmdoption-lsp-devtools-record-host", "--host"], [4, 6, 1, "cmdoption-lsp-devtools-record-include-message-type", "--include-message-type"], [4, 6, 1, "cmdoption-lsp-devtools-record-include-method", "--include-method"], [4, 6, 1, "cmdoption-lsp-devtools-record-message-source", "--message-source"], [4, 6, 1, "cmdoption-lsp-devtools-record-p", "--port"], [4, 6, 1, "cmdoption-lsp-devtools-record-save-output", "--save-output"], [4, 6, 1, "cmdoption-lsp-devtools-record-to-file", "--to-file"], [4, 6, 1, "cmdoption-lsp-devtools-record-to-sqlite", "--to-sqlite"], [4, 6, 1, "cmdoption-lsp-devtools-record-f", "-f"], [4, 6, 1, "cmdoption-lsp-devtools-record-p", "-p"]]}, "objtypes": {"0": "py:class", "1": "py:attribute", "2": "py:method", "3": "py:module", "4": "py:exception", "5": "py:function", "6": "std:cmdoption"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "attribute", "Python attribute"], "2": ["py", "method", "Python method"], "3": ["py", "module", "Python module"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["std", "cmdoption", "program option"]}, "titleterms": {"lsp": [0, 3], "devtool": 0, "pytest": 0, "changelog": [1, 6], "v0": [1, 6], "1": [1, 6], "2023": [1, 6], "01": [1, 6], "14": [1, 6], "fix": [1, 6], "0": [1, 6], "10": [1, 6], "featur": [1, 6], "misc": [1, 6], "3": [1, 6], "2022": [1, 6], "07": [1, 6], "17": [1, 6], "2": [1, 6], "05": [1, 6], "06": 1, "04": [1, 6], "29": 1, "user": [2, 7], "guid": [2, 7], "get": [3, 10], "start": [3, 10], "did": 3, "you": 3, "sai": 3, "pipx": 3, "The": [3, 12], "agent": 3, "configur": 3, "your": 3, "client": [3, 8, 11, 12], "server": [3, 10, 12], "applic": [3, 5], "record": 4, "session": 4, "exampl": 4, "command": 4, "connect": 4, "option": 4, "altern": 4, "destin": 4, "filter": 4, "messag": 4, "format": 4, "feedback": 4, "want": 4, "formatt": 4, "tui": 5, "19": 6, "doc": 6, "remov": 6, "15": 6, "18": 6, "enhanc": 6, "02": 6, "7": 6, "26": 6, "6": 6, "5": 6, "03": 6, "28": 6, "capabl": 8, "support": 8, "specif": 8, "complianc": 8, "check": [8, 14], "strict": 8, "disabl": 8, "fixtur": [9, 12], "parameteris": 9, "request": 9, "other": 9, "A": [10, 12], "simpl": [10, 12], "languag": [10, 11], "test": [10, 12, 13, 14], "case": [10, 12], "textdocu": 11, "publishdiagnost": 11, "window": 11, "logmessag": 11, "showdocu": 11, "showmessag": 11, "json": 12, "rpc": 12, "construct": 12, "write": 12, "troubleshoot": 13, "my": 13, "won": 13, "t": 13, "run": 13, "scopemismatch": 13, "error": 13, "deprecationwarn": 13, "unclos": 13, "event": 13, "loop": 13, "api": 14, "refer": 14, "languagecli": 14, "setup": 14}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 60}, "alltitles": {"LSP Devtools": [[0, "lsp-devtools"]], "lsp-devtools": [[0, "id1"]], "pytest-lsp": [[0, "pytest-lsp"]], "Changelog": [[1, "changelog"], [6, "changelog"]], "v0.1.1 - 2023-01-14": [[1, "v0-1-1-2023-01-14"]], "Fixes": [[1, "fixes"], [1, "id9"], [6, "fixes"], [6, "id15"], [6, "id24"], [6, "id30"], [6, "id34"], [6, "id35"]], "v0.1.0 - 2023-01-10": [[1, "v0-1-0-2023-01-10"]], "Features": [[1, "features"], [6, "features"], [6, "id11"], [6, "id20"]], "Misc": [[1, "misc"], [1, "id7"], [1, "id11"], [6, "misc"], [6, "id13"], [6, "id18"]], "v0.0.3 - 2022-07-17": [[1, "v0-0-3-2022-07-17"]], "v0.0.2 - 2022-05-06": [[1, "v0-0-2-2022-05-06"]], "v0.0.1 - 2022-04-29": [[1, "v0-0-1-2022-04-29"]], "User Guide": [[2, "user-guide"], [7, "user-guide"]], "Getting Started": [[3, "getting-started"], [10, "getting-started"]], "Did you say pipx?": [[3, null]], "The LSP Agent": [[3, "the-lsp-agent"]], "Configuring your client": [[3, "configuring-your-client"]], "Server Applications": [[3, "server-applications"]], "Recording Sessions": [[4, "recording-sessions"]], "Example Commands": [[4, "example-commands"]], "Connection Options": [[4, "connection-options"]], "Alternate Destinations": [[4, "alternate-destinations"]], "Filtering Messages": [[4, "filtering-messages"]], "Formatting messages": [[4, "formatting-messages"]], "Feedback Wanted!": [[4, null]], "Formatters": [[4, "formatters"]], "TUI Application": [[5, "tui-application"]], "v0.3.0 - 2023-05-19": [[6, "v0-3-0-2023-05-19"]], "Docs": [[6, "docs"]], "Removed": [[6, "removed"], [6, "id32"]], "v0.2.1 - 2023-01-14": [[6, "v0-2-1-2023-01-14"]], "v0.2.0 - 2023-01-10": [[6, "v0-2-0-2023-01-10"]], "v0.1.3 - 2022-10-15": [[6, "v0-1-3-2022-10-15"]], "v0.1.2 - 2022-07-18": [[6, "v0-1-2-2022-07-18"]], "Enhancements": [[6, "enhancements"], [6, "id22"], [6, "id26"], [6, "id28"]], "v0.1.1 - 2022-07-17": [[6, "v0-1-1-2022-07-17"]], "v0.1.0 - 2022-07-02": [[6, "v0-1-0-2022-07-02"]], "v0.0.7 - 2022-05-26": [[6, "v0-0-7-2022-05-26"]], "v0.0.6 - 2022-04-18": [[6, "v0-0-6-2022-04-18"]], "v0.0.5 - 2022-04-02": [[6, "v0-0-5-2022-04-02"]], "v0.0.3 - 2022-03-28": [[6, "v0-0-3-2022-03-28"], [6, "id33"]], "v0.0.2 - 2022-03-28": [[6, "v0-0-2-2022-03-28"]], "v0.0.1 - 2022-03-28": [[6, "v0-0-1-2022-03-28"]], "Client Capabilities": [[8, "client-capabilities"]], "Supported Clients": [[8, "supported-clients"]], "Specification Compliance Checks": [[8, "specification-compliance-checks"]], "Strict Checks": [[8, "strict-checks"]], "Disabling Checks": [[8, "disabling-checks"]], "Fixtures": [[9, "fixtures"]], "Parameterised Fixtures": [[9, "parameterised-fixtures"]], "Requesting Other Fixtures": [[9, "requesting-other-fixtures"]], "A Simple Language Server": [[10, "a-simple-language-server"]], "A Simple Test Case": [[10, "a-simple-test-case"]], "Language Client": [[11, "language-client"]], "textDocument/publishDiagnostics": [[11, "textdocument-publishdiagnostics"]], "window/logMessage": [[11, "window-logmessage"]], "window/showDocument": [[11, "window-showdocument"]], "window/showMessage": [[11, "window-showmessage"]], "Testing JSON-RPC Servers": [[12, "testing-json-rpc-servers"]], "A Simple JSON-RPC Server": [[12, "a-simple-json-rpc-server"]], "Constructing a Client": [[12, "constructing-a-client"]], "The Client Fixture": [[12, "the-client-fixture"]], "Writing Test Cases": [[12, "writing-test-cases"]], "Troubleshooting": [[13, "troubleshooting"]], "My tests won\u2019t run!": [[13, "my-tests-won-t-run"]], "ScopeMismatch Error": [[13, "scopemismatch-error"]], "DeprecationWarning: Unclosed event loop": [[13, "deprecationwarning-unclosed-event-loop"]], "API Reference": [[14, "api-reference"]], "LanguageClient": [[14, "languageclient"]], "Test Setup": [[14, "test-setup"]], "Checks": [[14, "module-pytest_lsp.checks"]]}, "indexentries": {"--exclude-message-type": [[4, "cmdoption-lsp-devtools-record-exclude-message-type"]], "--exclude-method": [[4, "cmdoption-lsp-devtools-record-exclude-method"]], "--format-message": [[4, "cmdoption-lsp-devtools-record-f"]], "--host": [[4, "cmdoption-lsp-devtools-record-host"]], "--include-message-type": [[4, "cmdoption-lsp-devtools-record-include-message-type"]], "--include-method": [[4, "cmdoption-lsp-devtools-record-include-method"]], "--message-source": [[4, "cmdoption-lsp-devtools-record-message-source"]], "--port": [[4, "cmdoption-lsp-devtools-record-p"]], "--save-output": [[4, "cmdoption-lsp-devtools-record-save-output"]], "--to-file": [[4, "cmdoption-lsp-devtools-record-to-file"]], "--to-sqlite": [[4, "cmdoption-lsp-devtools-record-to-sqlite"]], "-f": [[4, "cmdoption-lsp-devtools-record-f"]], "-p": [[4, "cmdoption-lsp-devtools-record-p"]], "lsp-devtools-record command line option": [[4, "cmdoption-lsp-devtools-record-exclude-message-type"], [4, "cmdoption-lsp-devtools-record-exclude-method"], [4, "cmdoption-lsp-devtools-record-f"], [4, "cmdoption-lsp-devtools-record-host"], [4, "cmdoption-lsp-devtools-record-include-message-type"], [4, "cmdoption-lsp-devtools-record-include-method"], [4, "cmdoption-lsp-devtools-record-message-source"], [4, "cmdoption-lsp-devtools-record-p"], [4, "cmdoption-lsp-devtools-record-save-output"], [4, "cmdoption-lsp-devtools-record-to-file"], [4, "cmdoption-lsp-devtools-record-to-sqlite"]], "clientserverconfig (class in pytest_lsp)": [[14, "pytest_lsp.ClientServerConfig"]], "languageclient (class in pytest_lsp)": [[14, "pytest_lsp.LanguageClient"]], "lspspecificationwarning": [[14, "pytest_lsp.checks.LspSpecificationWarning"]], "capabilities (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.capabilities"]], "check_completion_item() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_completion_item"]], "check_result_against_client_capabilities() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_result_against_client_capabilities"]], "check_result_for() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.check_result_for"]], "client_capabilities() (in module pytest_lsp)": [[14, "pytest_lsp.client_capabilities"]], "client_factory (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.client_factory"]], "completion_item_resolve() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.completion_item_resolve"]], "completion_items() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.completion_items"]], "diagnostics (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.diagnostics"]], "document_links() (in module pytest_lsp.checks)": [[14, "pytest_lsp.checks.document_links"]], "error (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.error"]], "fixture() (in module pytest_lsp)": [[14, "pytest_lsp.fixture"]], "initialize_session() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.initialize_session"]], "log_messages (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.log_messages"]], "make_test_lsp_client() (in module pytest_lsp)": [[14, "pytest_lsp.make_test_lsp_client"]], "messages (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.messages"]], "module": [[14, "module-pytest_lsp.checks"]], "pytest_lsp.checks": [[14, "module-pytest_lsp.checks"]], "report_server_error() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.report_server_error"]], "server_command (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.server_command"]], "server_env (pytest_lsp.clientserverconfig attribute)": [[14, "pytest_lsp.ClientServerConfig.server_env"]], "server_exit() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.server_exit"]], "shown_documents (pytest_lsp.languageclient attribute)": [[14, "pytest_lsp.LanguageClient.shown_documents"]], "shutdown_session() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.shutdown_session"]], "start() (pytest_lsp.clientserverconfig method)": [[14, "pytest_lsp.ClientServerConfig.start"]], "wait_for_notification() (pytest_lsp.languageclient method)": [[14, "pytest_lsp.LanguageClient.wait_for_notification"]]}}) \ No newline at end of file