From 5b4d5c913b9f208b22f1fd26ddb1d40877276a9f Mon Sep 17 00:00:00 2001 From: Omar Tawfik Date: Wed, 26 Oct 2016 12:04:21 -0700 Subject: [PATCH] Fix setup issues for Roslyn insertion (#1657) * Remove prequesities from vsix manifests * Fix #1655 - Upgrade to SwixBuild plugin version 1.0.71 * Fix #1654 - FSharp Binaries installed reference wrong versions * Bring back language service registration * Remove System.ValueTuple binding redirection --- .../component-groups/Compiler_Redist.wxs | 18 ++++++------ setup/packages.config | 3 +- .../Source.extension.vsixmanifest | 3 -- .../Source.extension.vsixmanifest | 3 -- .../Source.extension.vsixmanifest | 3 -- .../Source.extension.vsixmanifest | 3 -- vsintegration/packages.config | 5 ---- .../src/FSharp.Editor/LanguageService.fs | 29 ++++++++++++++----- 8 files changed, 33 insertions(+), 34 deletions(-) diff --git a/setup/FSharp.SDK/component-groups/Compiler_Redist.wxs b/setup/FSharp.SDK/component-groups/Compiler_Redist.wxs index 7e924240ef9..88d4c263b54 100644 --- a/setup/FSharp.SDK/component-groups/Compiler_Redist.wxs +++ b/setup/FSharp.SDK/component-groups/Compiler_Redist.wxs @@ -41,7 +41,7 @@ - + @@ -49,52 +49,52 @@ - + - + - + - + - + - + - + - + diff --git a/setup/packages.config b/setup/packages.config index 46a7701a755..54ba037776d 100644 --- a/setup/packages.config +++ b/setup/packages.config @@ -7,10 +7,11 @@ - + + diff --git a/vsintegration/Vsix/VisualFSharpDesktop/Source.extension.vsixmanifest b/vsintegration/Vsix/VisualFSharpDesktop/Source.extension.vsixmanifest index 76483db7fa1..ed704d87a0f 100644 --- a/vsintegration/Vsix/VisualFSharpDesktop/Source.extension.vsixmanifest +++ b/vsintegration/Vsix/VisualFSharpDesktop/Source.extension.vsixmanifest @@ -59,7 +59,4 @@ - - - \ No newline at end of file diff --git a/vsintegration/Vsix/VisualFSharpFull/Source.extension.vsixmanifest b/vsintegration/Vsix/VisualFSharpFull/Source.extension.vsixmanifest index adcdc42044a..a28d5d01c59 100644 --- a/vsintegration/Vsix/VisualFSharpFull/Source.extension.vsixmanifest +++ b/vsintegration/Vsix/VisualFSharpFull/Source.extension.vsixmanifest @@ -62,7 +62,4 @@ - - - \ No newline at end of file diff --git a/vsintegration/Vsix/VisualFSharpOpenSource/Source.extension.vsixmanifest b/vsintegration/Vsix/VisualFSharpOpenSource/Source.extension.vsixmanifest index e20c8224715..24a4f84aadf 100644 --- a/vsintegration/Vsix/VisualFSharpOpenSource/Source.extension.vsixmanifest +++ b/vsintegration/Vsix/VisualFSharpOpenSource/Source.extension.vsixmanifest @@ -63,7 +63,4 @@ - - - \ No newline at end of file diff --git a/vsintegration/Vsix/VisualFSharpWeb/Source.extension.vsixmanifest b/vsintegration/Vsix/VisualFSharpWeb/Source.extension.vsixmanifest index 74417f509ce..25e4f423a7b 100644 --- a/vsintegration/Vsix/VisualFSharpWeb/Source.extension.vsixmanifest +++ b/vsintegration/Vsix/VisualFSharpWeb/Source.extension.vsixmanifest @@ -57,7 +57,4 @@ - - - \ No newline at end of file diff --git a/vsintegration/packages.config b/vsintegration/packages.config index e87dd65f176..0b8a5dd5fc7 100644 --- a/vsintegration/packages.config +++ b/vsintegration/packages.config @@ -1,7 +1,5 @@ - - @@ -25,7 +23,4 @@ - - - diff --git a/vsintegration/src/FSharp.Editor/LanguageService.fs b/vsintegration/src/FSharp.Editor/LanguageService.fs index 1aeda6a46a0..ce73f66b85e 100644 --- a/vsintegration/src/FSharp.Editor/LanguageService.fs +++ b/vsintegration/src/FSharp.Editor/LanguageService.fs @@ -39,6 +39,12 @@ type internal SVsSettingsPersistenceManager = class end [, ".fsscript")>] [, ".ml")>] [, ".mli")>] +[] +[] +[] +[] +[] +[] type internal FSharpLanguageService(package : FSharpPackage) = inherit AbstractLanguageService(package) @@ -132,13 +138,22 @@ type internal FSharpLanguageService(package : FSharpPackage) = and [] - [] - [] - [] - [] - [] - [] - internal FSharpPackage() = + [, + strLanguageName = FSharpCommonConstants.FSharpLanguageName, + languageResourceID = 100, + MatchBraces = true, + MatchBracesAtCaret = true, + ShowCompletion = true, + ShowMatchingBrace = true, + ShowSmartIndent = true, + EnableAsyncCompletion = true, + QuickInfo = true, + DefaultToInsertSpaces = true, + CodeSense = true, + DefaultToNonHotURLs = true, + EnableCommenting = true, + CodeSenseDelay = 100)>] + internal FSharpPackage() = inherit AbstractPackage() override this.RoslynLanguageName = FSharpCommonConstants.FSharpLanguageName