From 762dfcf061e97cf6613814a082402b98bcc7edb6 Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Fri, 12 May 2017 14:28:18 -0700 Subject: [PATCH] use default package colors to avoid perf hit (#3045) --- 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 05543a54a..0682f4400 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 479a7031b..9423ee54a 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)>] -- GitLab