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

代码补全如何工作 #36

Closed
shane-peterson opened this issue Sep 2, 2022 · 1 comment
Closed

代码补全如何工作 #36

shane-peterson opened this issue Sep 2, 2022 · 1 comment
Labels
question Further information is requested

Comments

@shane-peterson
Copy link

代码补全是如何工作的,你可以举个例子吗?
非常感谢!!

@crazyurus
Copy link
Owner

代码补全有多种场景,实现方式也不太一样:

  • wxml:通过 language server 实现
  • wx api :通过加载 ts 类型,以及代码片段
  • json:通过 json schema
    具体实现可以看看 package.json 中的配置

@crazyurus crazyurus added the question Further information is requested label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants