LukaHorvat / HaskellPackage

Haskell integration for Visual Studio
22 stars 1 forks source link

2 Problems with VS2013 Professional #2

Open mrkkrj opened 9 years ago

mrkkrj commented 9 years ago

Hi, I could install the package as you described it and it's basically working OK. Alas there are 2 annoying problems:

  1. you can edit only in the Dark color scheme -> in the Light scheme the parenthesis aren't visible because they are white.
  2. Mouse-ove doesn't work - no type info is shown.

Visual Studio reports following exception:

634 Error Extension Manager Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK... C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK 635 Error Editor or Editor Extension System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex, Int32 length) at HDevTools.HDevToolsRunner.GetType(String path, Int32 line, Int32 column) at HaskellPackage.QuickInfoSource.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 quickInfoContent, ITrackingSpan& applicableToSpan) at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate() at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start() at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(Object sender, MouseHoverEventArgs e) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()

Regards, Marek

LukaHorvat commented 9 years ago

HDevTools branch that worked on Windows no longer does since the release of the new Haskell Platform. Because of this I've stopped development of this project.

For the coloring issue, I don't currently have the time to fix it but the second issue might get fixed if you instead try the 1.0.0 release that uses ghc-mod instead of HDevTools.