adding-suggested-actions - Add Visual Studio Suggested Actions
Implement MEF-based Visual Studio lightbulb actions, including code fixes, refactorings, and asynchronously streamed suggestions for any language.
Tags
Updated: 2026-11-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement suggested action providers
- Define lightbulb code fixes
- Create refactoring actions
- Stream actions asynchronously
- Register MEF editor exports
- Declare VSIX MEF assets
Inputs
- Visual Studio editor context
- Text buffer and snapshot span
- Requested action categories
- VSIX project manifest
Outputs
- Lightbulb suggested action sets
- Action previews
- Editor text changes
- Discovered MEF components
Requirements
- In-process VSSDK extension
- Microsoft.VisualStudio.SDK package
- Microsoft.VisualStudio.Language.Intellisense package
- MEF asset declaration
- Visual Studio 2022+ for async streaming
