From 314f91b9a9ad0d3ee257dd4206bf182ab9a76d36 Mon Sep 17 00:00:00 2001 From: Bill Ticehurst Date: Wed, 1 Mar 2017 23:52:38 -0800 Subject: [PATCH] Ensure expected settings for TypeScript powered intellisense is present on Dev14 --- .../Product/Nodejs/Options/NodejsIntellisenseOptionsPage.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Nodejs/Product/Nodejs/Options/NodejsIntellisenseOptionsPage.cs b/Nodejs/Product/Nodejs/Options/NodejsIntellisenseOptionsPage.cs index 086c93f64..9e32a3cad 100644 --- a/Nodejs/Product/Nodejs/Options/NodejsIntellisenseOptionsPage.cs +++ b/Nodejs/Product/Nodejs/Options/NodejsIntellisenseOptionsPage.cs @@ -84,6 +84,10 @@ public override void SaveSettingsToStorage() { } // Save settings. +#if DEV14 + // This setting needs to be present for the TypeScript editor to handle .js files in NTVS + SaveString("AnalysisLevel", "Preview"); +#endif SaveBool(EnableAutomaticTypingsAcquisitionSetting, EnableAutomaticTypingsAcquisition); SaveBool(ShowTypingsInfoBarSetting, ShowTypingsInfoBar); SaveBool(SaveChangesToConfigFileSetting, SaveChangesToConfigFile);