Home General

LINQPad 9 - Early Preview now available

LINQPad 9 is major update that unifies the Windows and macOS codebases, more than a year in the making. For Windows users, there's a major UI refresh, including a brand-new dark theme, customizable keyboard shortcuts, connection grouping and more. While the planned RTM date is November, an early preview is now available:
https://www.linqpad.net/linqpad9.aspx

Let me know your thoughts!

Comments

  • I love the switch to a new editor. The previous one was showing it's age, especially when searching through the file. Is it the same one VSCode uses? Even has a splitter :smile:

  • It uses Actipro's WPF SyntaxEditor, with some tweaks.

    The entire codebase is now WPF/XPF.

  • Cool! Looks like it's missing the indent guides. Would be great if we had an option to show whitespace characters or had better multiple cursor support (if possible).

  • Ran into a few issues.

    Firstly - ILSpy does not work.
    Util.OpenILSpy(this); briefly displays a "working" message then continues without opening ILSpy
    Both F12 and Query.Reflect script in Ilspy throw an NullException error Value cannot be null. (Parameter 'stream')

    Secondly: Can't Reference System.Data.Linq.DataContext

    I have a very commonly used extension method in My Extensions with the signature

     public static Boolean SubmitChangesWithPrompt(this System.Data.Linq.DataContext dc)
    

    System.Data.Linq.DataContext is in %localappdata%\LINQPad\8.9.4\L2S\net6.0\SD.Tools.LinqToSQL2.dll which is included in LP8 if I select 'Include Linq-to-sql' assemblies, but the new version is not included in LP9.

    Any ideas how to resolve this?

  • Thanks - these issues should now be fixed.

  • Thanks.

    ILspy is now working correctly.

    I can reference `System.Data.Linq.DataContext in any script as long as it has a Linq2Sql data connection, but I can't add a connection to 'My Extensions.linq' and hence my extension method does not work.

    I have got a workaround by cloning "My Extension.Linq" and then adding a dummy connection to the clone and then any script that uses the extension method I can disable "My Extensions" and manually load my cloned copy.

Sign In or Register to comment.