Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hyrious opened this issue Jul 1, 2024 · 0 comments
Open

Comments

@hyrious
Copy link

hyrious commented Jul 1, 2024

复现方式:

$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant