VS代码dlang:Can Chand Change Change Build构建配置

发布于 2025-01-19 05:54:12 字数 549 浏览 3 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱给你人给你 2025-01-26 05:54:12

有一个解决方法。您可以在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文