Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Fix mimeTypes attribute on CSharpAutoInsertBracketHandler.
Browse files Browse the repository at this point in the history
It was being loaded for all mime types. Now the mimeTypes will be respected.

Bug mono/mono-addins#116 is a suggestion to add a warning to prevent such errors in the future.
  • Loading branch information
KirillOsenkov committed May 15, 2018
1 parent d61cf28 commit fccda34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/addins/CSharpBinding/CSharpBinding.addin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
</Extension>

<Extension path = "/MonoDevelop/Ide/AutoInsertBracketHandler">
<Handler class="MonoDevelop.CSharp.Features.AutoInsertBracket.CSharpAutoInsertBracketHandler" mimeType = "text/x-csharp" />
<Handler class="MonoDevelop.CSharp.Features.AutoInsertBracket.CSharpAutoInsertBracketHandler" mimeTypes = "text/x-csharp" />
</Extension>

<Extension path="/MonoDevelop/Ide/TypeService/MefHostServices">
Expand Down

0 comments on commit fccda34

Please sign in to comment.