opensumi / ide-electron

OpenSumi Electron Version
https://opensumi.com
MIT License
171 stars 56 forks source link

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

Open hyrious opened 2 months ago

hyrious commented 2 months ago

复现方式:

$ 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 手动触发,一些细节: