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

[BUG] contributes.commands 下的 enablement 字段不符合预期 #3992

Open
hans000 opened this issue Sep 5, 2024 · 0 comments
Open

[BUG] contributes.commands 下的 enablement 字段不符合预期 #3992

hans000 opened this issue Sep 5, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@hans000
Copy link

hans000 commented Sep 5, 2024

描述你的问题(Describe the bug)
配置了enablement,默认foo.enableXXX不设置值,发现没有禁用

{
  "command": "foo.xxx",
  "title": "Foo Title",
  "enablement": "foo.enableXXX",
  "when": "foo.permission.xxx"
}

"explorer/context": [
    {
      "group": "Foo",
      "command": "foo.xxx"
    }
  ]

复现路径(To Reproduce)

预期表现(Expected behavior)
应该禁用不可点击

环境信息(Environment)

  • OS: [e.g. macOS 11.2 Apple M1]
  • Browser: [e.g. chrome]
  • OpenSumi Version: [e.g. 2.13.0]
@hans000 hans000 added the 🐞 bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant