Skip to content

Editor Actions

Editor actions can appear in the editor toolbar. You can either add an icon as a quick action or add menu item under the overflow menu (...).

✔️ Do

  • Show only when contextually appropriate
  • Use icons from the icon library
  • Use the overflow menu for secondary actions

❌ Don't

  • Add more than one icon
  • Add custom colors
  • Use emojis

Editor Actions

This example from the GitHub Pull Requests and Issues extension opens a diff view and only shows on files with changes.

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

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