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

打开 workspace 的时候能精准的激活插件 #18

Closed
vangie opened this issue Jul 22, 2019 · 0 comments
Closed

打开 workspace 的时候能精准的激活插件 #18

vangie opened this issue Jul 22, 2019 · 0 comments
Assignees
Projects
Milestone

Comments

@vangie
Copy link
Contributor

vangie commented Jul 22, 2019

  1. 打开一个 fun 工程
  2. 打开 index.js 文件,handler 上没有 FC: Local Run | FC: Local Debug 的 CodeLens
  3. 点击左边栏的插件图标以后, CodeLens 就有了

从上面的体验行为可见插件的激活时机不对,如果打开一个 fun 项目应该默认激活。

参考 https://code.visualstudio.com/api/references/activation-events#workspaceContains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
1.2.0
  
Done
Development

No branches or pull requests

2 participants