2
  1. 我使用https://www.theia-ide.org/doc/Composing_Applications.html中的说明构建了 IDE,它可以正常工作。
  2. 然后我按照https://www.theia-ide.org/doc/Authoring_Plugins.html中给出的说明进行操作。我能够构建其中一个示例插件,但是当我去测试它时,我无法在 #1 中构建的 IDE 中找到“托管”模式——我查看了“查找命令”并搜索了“托管”没有结果
  3. 这是来自“Help->About”的配置信息

    @theia/core 0.5.0-next.8968ac21 @theia/output 0.5.0-next.8968ac21 @theia/process 0.5.0-next.8968ac21 @theia/filesystem 0.5.0-next.8968ac21 @theia/variable-resolver 0.5.0-next.8968ac21 @theia/workspace 0.5.0-next.8968ac21 @theia/languages 0.5.0-next.8968ac21 @theia/editor 0.5.0-next.8968ac21 @theia/navigator 0.5.0-next。 8968ac21 @theia/markers 0.5.0-next.8968ac21 @theia/outline-view 0.5.0-next.8968ac21 @theia/monaco 0.5.0-next.8968ac21 @theia/callhierarchy 0.5.0-next.8968ac21 @theia/打字稿 0.5.0-next.8968ac21 @theia/terminal 0.5.0-next.8968ac21 @theia/json 0.5.0-next.8968ac21 @theia/userstorage 0.5.0-next.8968ac21 @theia/preferences 0.5.0-next .8968ac21 @theia/messages 0.5.0-next.8968ac21 @theia/git 0.5.0-next.8968ac21 @theia/file-search 0.5.0-next.8968ac21 @theia/mini-browser 0.5.0-next.8968ac21 @theia/preview 0.5.0-next。8968ac21 @theia/merge-conflicts 0.5.0-next.8968ac21 @theia/search-in-workspace 0.5.0-next.8968ac21 @theia/textmate-grammars 0.5.0-next.8968ac21

如果我遗漏了什么,请告诉我。

谢谢!迪尔达

4

2 回答 2

1

您应该添加@theia/plugin-ext以启用 Theia 插件或@theia/plugin-ext-vscode启用 VS Code 扩展。

于 2019-03-20T10:02:22.987 回答
0

尝试将@theia/plugin-dev和添加@theia/plugin-ext到 package.json 并尝试在网页而不是本地 IDE 中查找命令。

这意味着,您应该先启动另一个 Theia 应用程序。然后按 F1 键>hosted plugin: start Instance在 http://localhost:3000/ 上查找命令。

这将让您选择“theia-hello-world-plugin”文件夹的路径,然后打开另一个页面 http://localhost:3030/。

于 2021-04-16T03:14:29.763 回答