当我启动 ROS 核心时,我在 Visual Studio 代码上得到了 "command 'vscode.previewHtml' not found"
I get the "command 'vscode.previewHtml' not found" on Visual Studio Code when I start ROS core
我 运行 visual studio Ubuntu 18.04 上的代码。我在机器人操作系统上开发了一个软件。当我在 visual studio 代码上启动 ROS 时,我收到此消息:
"command 'vscode.previewHtml' not found"
我该怎么办?
如果你正在使用这个ROS extension by ajshort, then it's an extension problem. There is nothing you can do but to report it to the extension author... and I already did that here: https://github.com/ajshort/vscode-ros/issues/27:
https://github.com/ajshort/vscode-ros/issues/27#issue-421388056
I'm getting the following warning from VSCode:
Extension 'ajshort.ros' uses the 'vscode.previewHtml' command which is deprecated and will be removed soon. Please file an issue against this extension to update to use VS Code's webview API.
https://github.com/ajshort/vscode-ros/issues/27#issuecomment-502516232
The vscode.previewHtml has been completely been depricated here microsoft/vscode#62630 and instead the webview api should be used. https://code.visualstudio.com/api/extension-guides/webview
不幸的是,该 ROS 扩展已被弃用,Github 存储库(源代码)已存档,因此该问题不会得到解决。您现在应该使用 Microsoft 的新 ROS 扩展:https://marketplace.visualstudio.com/items?itemName=ms-iot.vscode-ros,它是同一 ajshort 扩展的一个分支,现在是积极维护的。
Note: A newer version of this extension has been published as ms-iot.vscode-ros
. Please uninstall this extension and install the new one.
我 运行 visual studio Ubuntu 18.04 上的代码。我在机器人操作系统上开发了一个软件。当我在 visual studio 代码上启动 ROS 时,我收到此消息: "command 'vscode.previewHtml' not found"
我该怎么办?
如果你正在使用这个ROS extension by ajshort, then it's an extension problem. There is nothing you can do but to report it to the extension author... and I already did that here: https://github.com/ajshort/vscode-ros/issues/27:
https://github.com/ajshort/vscode-ros/issues/27#issue-421388056
I'm getting the following warning from VSCode:
Extension 'ajshort.ros' uses the 'vscode.previewHtml' command which is deprecated and will be removed soon. Please file an issue against this extension to update to use VS Code's webview API.
https://github.com/ajshort/vscode-ros/issues/27#issuecomment-502516232
The vscode.previewHtml has been completely been depricated here microsoft/vscode#62630 and instead the webview api should be used. https://code.visualstudio.com/api/extension-guides/webview
不幸的是,该 ROS 扩展已被弃用,Github 存储库(源代码)已存档,因此该问题不会得到解决。您现在应该使用 Microsoft 的新 ROS 扩展:https://marketplace.visualstudio.com/items?itemName=ms-iot.vscode-ros,它是同一 ajshort 扩展的一个分支,现在是积极维护的。
Note: A newer version of this extension has been published as
ms-iot.vscode-ros
. Please uninstall this extension and install the new one.