XamlStyler icon indicating copy to clipboard operation
XamlStyler copied to clipboard

Added ShowMessageBoxOnError option

Open chris84948 opened this issue 2 years ago • 0 comments

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

chris84948 avatar Jun 09 '22 15:06 chris84948