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

[Question] 代码提示功能没有反应 #3822

Closed
weberFlying opened this issue Jul 2, 2024 · 1 comment
Closed

[Question] 代码提示功能没有反应 #3822

weberFlying opened this issue Jul 2, 2024 · 1 comment
Labels
💬 question Further information is requested 👾 wontfix

Comments

@weberFlying
Copy link

描述你的问题(Describe you question here)
在纯web项目中,修改web-lite中的代码,打开extension中的插件列表,看控制台每个插件对应的json文件都加载了,但是编辑器里面编写代码没有任何提示,一点反应都没;想请问下,纯web项目添加代码提示的流程或必要的步骤;

liebioa

@weberFlying weberFlying added the 💬 question Further information is requested label Jul 2, 2024
bk1012 added a commit that referenced this issue Aug 2, 2024
Related to #3822

Integrate Monaco language client to enable code suggestions in the editor.

* **packages/editor/src/browser/doc-model/editor-document-model-service.ts**
  - Import `MonacoLanguageClient` and `createLanguageClient`.
  - Initialize the language client in the constructor.
  - Add a method to start the language client.

* **packages/editor/src/browser/doc-model/editor-document-model.ts**
  - Import `MonacoLanguageClient`.
  - Initialize the language client in the constructor.
  - Add a method to handle language client interactions for code suggestions.

* **packages/editor/src/browser/doc-model/override.ts**
  - Import `MonacoLanguageClient`.
  - Initialize the language client in the constructor.
  - Add a method to start the language client.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/opensumi/core/issues/3822?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

stale bot commented Aug 31, 2024

此问题已被自动标记为已过时,如果没有进一步的活动,它将被关闭。谢谢您的贡献。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the 👾 wontfix label Aug 31, 2024
@stale stale bot closed this as completed Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 question Further information is requested 👾 wontfix
Projects
None yet
Development

No branches or pull requests

1 participant