CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:40:26 GMT
content-type: text/html; charset=utf-8
content-length: 36036
cache-control: s-maxage=300
etag: W/"8cc4-E9B897X1BqXoqLt3s5Y9+D/OPak"
strict-transport-security: max-age=31536000; includeSubDomains
request-context: appId=cid-v1:
content-security-policy: frame-ancestors 'self'
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-powered-by: ASP.NET
x-azure-ref: 20250719T144026Z-r15cb48d775lxsnqhC1BOMf1c40000000650000000002357
x-cache: TCP_MISS
x-fd-int-roxy-purgeid: 1
accept-ranges: bytes
Editor Actions | Visual Studio Code Extension API
Try MCP servers to extend agent mode in VS Code!
Dismiss this update
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
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
07/09/2025