Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配合remote-ssh安装在远程主机后本地的luacheck功能用不了了 #88

Open
stephenmax-zhang opened this issue Feb 10, 2020 · 2 comments

Comments

@stephenmax-zhang
Copy link

stephenmax-zhang commented Feb 10, 2020

如题
使用remote-ssh后,vs-code表示要在远程主机启用,不然用不了,我就点了在远程主机安装,结果安装后能用了但是本地的luacheck没有了,行末有空格啥的都不提示了。代码修改后从插件日志里能看到在远程主机上运行了luacheck,但是没见把结果返回到本地

请问是我操作姿势不对还是暂不支持呢

@stephenmax-zhang stephenmax-zhang changed the title 配合remot-ssh安装在远程主机后有些功能用不了了 配合remote-ssh安装在远程主机后有些功能用不了了 Feb 10, 2020
@stephenmax-zhang stephenmax-zhang changed the title 配合remote-ssh安装在远程主机后有些功能用不了了 配合remote-ssh安装在远程主机后本地的luacheck功能用不了了 Feb 10, 2020
@stephenmax-zhang
Copy link
Author

image
明白了,需要指定远程主机上边luacheck的路径。
那么,希望日志里边如果找不到luacheck能显示一个明确的错误,以便排查问题
image
从图里看,2ms的check时间明显不对,因为找不到luacheck就被跳过了;改对了正确的路径时时间就对了
另外,从指定路径找不到luacheck时可否默认尝试从系统环境变量里的目录去找呢

@liwangqian
Copy link
Owner

可以优化一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants