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
windows 下 project -k compile_commands 生成的命令包含多余的斜杠,导致lsp无法解析 #720
Comments
是就directory, file里面不行,还是包括 args里面全不行?还是仅args里面不行? args里面,是因为 有 |
json里改成 |
啊,原文中 |
? 反正就是要全部 |
我是说issues里的 |
哦 这个我回头看下 |
这块问题大概了解了 不过我得稍微做点重构重新理下 并且得先完善下test cases 才行 |
我改进过了,你全量更新下dev再试试。。xmake update dev |
确认已经解决了 |
描述问题
windows 下 project -k compile_commands 生成的命令包含多余的斜杠,导致lsp无法解析
具体就是这样
经测试,将\\替换为\后lsp工作正常
期待的结果
使用\而不是\作为目录分隔符
错误信息
(xmake没有报错,lsp报错找不到头文件)
相关环境
windows 10 x64
xmake v2.3.1+202003181541
其他信息
vscode 官方 c/c++ 扩展
The text was updated successfully, but these errors were encountered: