From a4fad41b9ded594b6c7a2915c3d24a0fb95d99ae Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Tue, 9 May 2017 11:12:39 -0700 Subject: [PATCH] use default package colors to avoid perf hit --- vsintegration/Vsix/RegisterFsharpPackage.pkgdef | 1 + vsintegration/src/FSharp.Editor/Common/LanguageService.fs | 1 + 2 files changed, 2 insertions(+) diff --git a/vsintegration/Vsix/RegisterFsharpPackage.pkgdef b/vsintegration/Vsix/RegisterFsharpPackage.pkgdef index 05543a54a1..0682f44009 100644 --- a/vsintegration/Vsix/RegisterFsharpPackage.pkgdef +++ b/vsintegration/Vsix/RegisterFsharpPackage.pkgdef @@ -170,6 +170,7 @@ [$RootKey$\Languages\Language Services\FSharpInteractive] "Package"="{91a04a73-4f2c-4e7c-ad38-c1a68e7da05c}" "NotALanguage"="1" +"RequestStockColors"=dword:00000001 @="{35a5e6b8-4012-41fc-a652-2cdc56d74e9f}" [$RootKey$\FontAndColors\FSharpInteractive] diff --git a/vsintegration/src/FSharp.Editor/Common/LanguageService.fs b/vsintegration/src/FSharp.Editor/Common/LanguageService.fs index 479a7031bb..9423ee54a3 100644 --- a/vsintegration/src/FSharp.Editor/Common/LanguageService.fs +++ b/vsintegration/src/FSharp.Editor/Common/LanguageService.fs @@ -208,6 +208,7 @@ type DefaultToInsertSpaces = true, CodeSense = true, DefaultToNonHotURLs = true, + RequestStockColors = true, EnableCommenting = true, CodeSenseDelay = 100, ShowDropDownOptions = true)>]