首页> 外国专利> 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 dependency resolution being responsive to the diagnostic message. 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号