PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Additional filtering needed for IInteractiveWindowCommands on import...

Open halverson-dev opened this issue 11 years ago • 2 comments

As of https://github.com/dotnet/roslyn/pull/3982, the "core" commands exported by Microsoft.VisualStudio.InteractiveWindow will be marked with [ContentType("code")]. Consumers should filter commands on import by checking for a ContentType that matches (or is inherited by) their own content type. This will prevent conflicts such as the one arising from C# Interactive defining it's own #load command (conflicted with $load).

halverson-dev avatar Jul 22 '15 22:07 halverson-dev

Update - with https://github.com/dotnet/roslyn/commit/5e9eba1085f7b1b3fc3a969561754e5c156430ef, the "core" commands are marked with [ContentType(PredefinedInteractiveCommandsContentTypes.InteractiveCommandContentTypeName)] instead.

halverson-dev avatar Jul 30 '15 04:07 halverson-dev

Closed as part of another fix.

zooba avatar Oct 06 '15 15:10 zooba