Skip to content

通义灵码行内补全在 opensumi 里无法触发,但 VS Code 正常 #108

Description

@hyrious

复现方式:

$ git clone https://github.com/opensumi/ide-electron
$ cd ide-electron
$ yarn
$ # edit product.json, see below
-  "serverApp": { "marketplace": {} },
+  "serverApp": {
+    "marketplace": {
+      "endpoint": "https://open-vsx.org"
+    }
+  },
$ yarn build
$ yarn start

搜索安装插件通义灵码:

image

登录阿里云账号。

打开一个新文件用于测试,这里使用 python:

image

注意到这里并没有成功产生 AI 提示。你可以通过菜单里的 Trigger Inline Suggestion 手动触发,一些细节:

  • 侧边栏 Chat 功能正常
  • 行内提示在 VS Code 里正常,只在 opensumi 里失效
  • 手动触发行内提示时可以看到状态栏图标变成 loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions