From a318458dbca0ab63310fa6549ddca45b8dca6b5d Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sat, 1 Jun 2019 00:27:02 -0400 Subject: [PATCH] Stop Showing Formatter Warning issue: #267 --- src/formatting/xml-formatter.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/formatting/xml-formatter.ts b/src/formatting/xml-formatter.ts index 01fb9ae..8a61c2f 100644 --- a/src/formatting/xml-formatter.ts +++ b/src/formatting/xml-formatter.ts @@ -29,17 +29,6 @@ export class XmlFormatterFactory { default: xmlFormatterImplementation = new V2XmlFormatter(); break; } - // warn users about the new formatter - const formatterWarningKey = "xmlTools.v2FormatterWarning.shown"; - - if (!ExtensionState.global.get(formatterWarningKey) && xmlFormatterImplementation instanceof V2XmlFormatter) { - // tslint:disable-next-line:max-line-length - window.showInformationMessage("Heads up! We've rewritten the XML formatter. If you liked the old one better, it's still there. Just set the 'xmlTools.xmlFormatterImplementation' setting to 'classic'.") - .then(() => { - ExtensionState.global.update(formatterWarningKey, true); - }); - } - return (XmlFormatterFactory._xmlFormatter = xmlFormatterImplementation); } }