首页> 外国专利> Client-side source code dependency resolution in language server protocol-enabled language server

Client-side source code dependency resolution in language server protocol-enabled language server

机译:客户端源代码依赖关系在启用语言服务器协议的语言服务器中

摘要

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.
机译:公开了语言服务器协议(LSP)的语言服务器中的客户端源代码依赖性分辨率的技术示例。 在一个示例中,一种方法包括通过启用LSP的语言服务器解析从客户端语言编辑器接收的源代码文件以识别源代码文件中的依赖性。 该方法还包括至少部分地基于在解析期间识别源代码文件中的依赖性,使能够启用LSP的语言服务器发送到客户端语言编辑器的诊断消息以请求解决依赖性的诊断消息。 该方法还包括通过启用LSP的语言服务器接收来自客户端语言编辑器的依赖性解析。 该方法还包括通过LSP的语言服务器继续继续,至少部分地基于从客户端语言编辑器接收的依赖性分辨率来解析源代码文件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号