Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Displaying lightbulb suggestions in XAML code editor

$
0
0

Hello,

I'm developping a VSIX extension using a MEF component in Visual Studio 2015.

I have been using this tutorial to add lightbulb suggestions : https://msdn.microsoft.com/en-us/library/dn903708.aspx

It works well with C#, VB or plain text content types. But I'm trying to make it work with XAML content type.

When I open a XAML document in code view, the ISuggestedActionsSourceProvider.CreateSuggestedActionsSource method is called. But the ISuggestedActionsSource.GetSuggestedActions method is never called.

The "Quick actions" menu is also not visible in the XAML code editor's context menu.

Is there a way to display lightbulb suggestions in the XAML code window ?


Viewing all articles
Browse latest Browse all 4410

Trending Articles