Text of code.visualstudio.com › api › ux-guidelines › editor-actions as Styx crawled it on Oct 10, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Editor Actions | Visual Studio Code Extension API

AI agents: See llms.txt for documentation discovery and navigation. Documentation articles are also available as Markdown by appending .md to the article URL. 🎬 Watch The Story of VS Code! VS Code is now on Instagram, follow @vscode.ig for updates, tips, and more. Rewatch GitHub Copilot Day. Editor Actions View as Markdown Ask in VS Code Ask in VS Code Insiders 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 This example from the GitHub Pull Requests and Issues extension opens a diff view and only shows on files with changes.

Links Custom Editor extension guide Custom Editor API reference Custom Editor extension sample Webview extension guide Webview extension sample 10/7/2026