Skip to content

Context Menus

Menu items appear in views, actions, and right-click menus. It's important that the grouping of menus remain consistent. If your extension has actions that relate to files, place your actions in the File Explorer context menu (when appropriate). If an extension has actions for certain file types, only display it for those items.

✔️ Do

  • Show actions when contextually appropriate
  • Group similar actions together
  • Place large groups of actions into a submenu

❌ Don't

  • Show actions for every file without context

Context Menu

This example places a Copy GitHub Permalink next to the other copy commands. This action only appears on files that are from a GitHub repository.

评论区
评论区空空如也
发送评论
名字
0 / 20
邮箱
0 / 100
评论内容
0 / 140
由于是非实名评论,所以不提供删除功能。如果你需要删除你发送的评论,或者是其他人的评论对你造成了困扰,请 发邮件给我 。同时评论区会使用 AI + 人工的方式进行审核,以达到合规要求。

© thebestxt.cc
辽ICP备16009524号-8
本站所有文章版权所有,转载请注明出处