VS代码dlang:Can Chand Change Change Build构建配置
我正在尝试使用 VS 代码扩展 code-d 。一切工作正常,除了我无法切换配置、架构类型或构建类型。如果我尝试执行这些操作,我会在 code-d & 中收到以下输出消息: serve-d:
{"code":-32602,"data":null,"message":"`params` MUST be an object (named arguments) or array (positional arguments), other types are not allowed by spec"}
此时,我只有一个 hello world 项目,如 代码-d 文档。我错过了什么吗?
I am giving D a shot with the VS code extension code-d. Everything works fine, except that I can't switch configuration, arch type or build type. If I try to do any of these things, I receive the following output message in code-d & serve-d
:
{"code":-32602,"data":null,"message":"`params` MUST be an object (named arguments) or array (positional arguments), other types are not allowed by spec"}
At this point, I only have a hello world project, as described in the code-d documentation. Am I missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个解决方法。您可以在 VS Code 中使用用户任务。在 VS Code 中为每个构建配置创建用户任务。然后安装此扩展(https://github.com/actboy168/vscode-tasks)。这将选择您的每个任务并将其显示在 VS Code 的任务栏中。所以你只需要点击鼠标。
There is a workaround for this. You can use user tasks in vs code. Create user tasks in vs code for each of your build configuration. Then install this extension (https://github.com/actboy168/vscode-tasks). This will pick each of your task and display it in the task bar of vs code. So you only need a mouse click.