International Business Machines Corporation
Client-side source code dependency resolution in language server protocol-enabled language server

Last updated:

Abstract:

Examples of techniques for client-side source code dependency resolution in a language server protocol (LSP) enabled language server are disclosed. In one example, a method includes parsing, by the LSP-enabled language server, a source code file received from a client language editor to identify dependencies in the source code file. The method further includes, based at least in part on identifying a dependency in the source code file during the parsing, transmitting, by the LSP-enabled language server, a diagnostic message to the client language editor to request resolution of the dependency. The method further includes receiving, by the LSP-enabled language server, a dependency resolution from the client language editor. The method further includes continuing, by the LSP-enabled language server, the parsing the source code file based at least in part on the dependency resolution received from the client language editor.

Status:
Grant
Type:

Utility

Filling date:

31 Oct 2018

Issue date:

26 Oct 2021