XamlStyler
XamlStyler copied to clipboard
Added ShowMessageBoxOnError option
Description:
Fixes #387 Add option to hide "Error in StylerPackage" popup message
Created a new setting called ShowMessageBoxOnError
in StylerOptions
and IStylerOptions
. This setting then is used in StylerPackage.Formatting
whenever the ShowMessageBox
function is called.
If ShowMessageBoxOnError = false
, the message box will not be shown.
Checklist:
- [x] Code required no comments due to simplicity
- [x] My changes generate no new warnings
- [x] New and existing unit tests pass locally with my changes
- [x] I have tested my changes by running the extension in VS2019
- [x] I have tested my changes by running the extension in VS2022