inmanta语言服务器
inmantals的Python项目详细描述
inmanta语言服务器
通过实现语言服务器,在inmanta编译器和visual studio代码ide之间提供桥梁
这是alpha软件,它可能工作,也可能不工作
安装
mkvirtualenv-p python3 l测试
PIP安装在容器中
通过Marketplace安装Inmanta扩展程序
更改扩展名的配置(ctrl+,)
- 将
inmanta.pythonPath
设置为刚刚创建的虚拟环境~/.virtualenvs/lstesting/bin/python3
- 将
inmanta.ls.enabled
设置为true
- 将
功能
- 导航到类型定义
尚未支持
- 重新加载代码(不在编辑或保存时,需要关闭vscode)
- 使用不正确的模型(需要编译,全部或无)
参考文献
https://microsoft.github.io/language-server-protocol/specification