adding-suggested-actions
CommunityEnable editor lightbulb actions in VS extensions
Software Engineering#extension-development#visual-studio#mef#isuggestedaction#suggested-actions#lightbulb
Authormadskristensen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables Visual Studio extensions to contribute editor lightbulb actions (quick fixes, refactorings) using the MEF-based ISuggestedAction API, covering both legacy and modern VS platforms.
Core Features & Use Cases
- MEF-based action providers: implement ISuggestedAction and export via ISuggestedActionsSourceProvider to expose actions in the lightbulb.
- Cross-version support: demonstrates how to implement both ISuggestedActionsSource (VS2015+) and IAsyncSuggestedActionsSource (VS2022+) with proper priorities.
- Usage scenarios: create custom actions for non Roslyn languages, or general text/markup languages, and wire them to the lightbulb for quick fixes and refactors.
Quick Start
Open a Visual Studio extension project and enable lightbulb actions by exporting an ISuggestedActionsSourceProvider via MEF.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adding-suggested-actions Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#adding-suggested-actions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.