@@ -2025,6 +2025,7 @@ type FSharpPackage() as self =
20252025let fsharpSpecificProfileSettings =
20262026[| " TextEditor.F#.Insert Tabs" , boxfalse
20272027" TextEditor.F#.Brace Completion" , boxtrue
2028+ " TextEditor.F#.Make URLs Hot" , boxfalse
20282029" TextEditor.F#.Indent Style" , box1 u|]
20292030
20302031override self.Initialize () =
@@ -2038,14 +2039,16 @@ type FSharpPackage() as self =
20382039/// We specify our customizations in the General profile for VS, but we have found that in some cases
20392040/// those customizations are incorrectly ignored.
20402041member private this.EstablishDefaultSettingsIfMissing () =
2041- let settingsManager = this.GetService( typeof< SVsSettingsPersistenceManager>) :?> Microsoft.VisualStudio.Settings.ISettingsManager
2042- for settingName, defaultValuein fsharpSpecificProfileSettingsdo
2043- // Only take action if the setting has no current custom value
2044- // If cloud-synced settings have already been applied or the user has made an explicit change, do nothing
2045- match settingsManager.TryGetValue( settingName) with
2046- | Microsoft.VisualStudio.Settings.GetValueResult.Missing, _ ->
2047- settingsManager.SetValueAsync( settingName, defaultValue, false ) |> ignore
2048- | _ -> ()
2042+ match this.GetService( typeof< SVsSettingsPersistenceManager>) with
2043+ | :? Microsoft.VisualStudio.Settings.ISettingsManageras settingsManager->
2044+ for settingName, defaultValuein fsharpSpecificProfileSettingsdo
2045+ // Only take action if the setting has no current custom value
2046+ // If cloud-synced settings have already been applied or the user has made an explicit change, do nothing
2047+ match settingsManager.TryGetValue( settingName) with
2048+ | Microsoft.VisualStudio.Settings.GetValueResult.Missing, _ ->
2049+ settingsManager.SetValueAsync( settingName, defaultValue, false ) |> ignore
2050+ | _ -> ()
2051+ | _ -> ()
20492052
20502053member self.RegisterForIdleTime () =
20512054 mgr<- ( self.GetService( typeof< SOleComponentManager>) :?> IOleComponentManager)