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] 关于代码提示的问题 #57

Open
hanlin77 opened this issue Apr 12, 2024 · 3 comments
Open

[Question] 关于代码提示的问题 #57

hanlin77 opened this issue Apr 12, 2024 · 3 comments

Comments

@hanlin77
Copy link

hanlin77 commented Apr 12, 2024

场景是这样的:

截屏2024-04-12 下午5 05 02

红框中VREdit的类型在VREdit.d.ts里声明了,所以在yPlugin.ts里输入时会弹出关键词提示,但是如果用户没有打开过VREdit.d.ts这个文件,提示就不会弹出来

截屏2024-04-12 下午5 13 51

我的需求是:

我想在用户未打开过VREdit.d.ts的情况下,也可以像第一张图一样弹出提示

请问是否有方案可以实现我的需求?感谢解答

@hanlin77 hanlin77 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2024
@hanlin77 hanlin77 reopened this Apr 12, 2024
@hacke2
Copy link
Member

hacke2 commented Apr 12, 2024

方案1:修改 typescript-lanuguage-feature worker 插件,d.ts 在 ts language 里加载
方案2:使用 webcontainer 【这个方案还未提供对外版本】

@flyyang
Copy link

flyyang commented Dec 9, 2024

方案1:修改 typescript-lanuguage-feature worker 插件,d.ts 在 ts language 里加载 方案2:使用 webcontainer 【这个方案还未提供对外版本】

webcontainer 有开放计划吗

@hacke2
Copy link
Member

hacke2 commented Dec 9, 2024

方案1:修改 typescript-lanuguage-feature worker 插件,d.ts 在 ts language 里加载 方案2:使用 webcontainer 【这个方案还未提供对外版本】

webcontainer 有开放计划吗

明年应该会开源

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

3 participants