Rider EAP 21: F# support, bundled TFS plugin and more

JetBrains Rider - cross-platform .NET IDEA new Rider EAP build is available for download!

In this Rider EAP 21, we’ve fixed a number of bugs, bundled the TFS plugin to make working with TFS and VSTS easier, added detection of existing file indents for editing, added highlighting in XML doc comments, improved options pages for inspections and the NuGet client, and… added F# language support!

Let’s go over what’s new and what this all means.

F# language support

As a cross-platform .NET IDE, we felt we needed to support the three major CLR languages, C#, VB.NET and F#. Rider EAP 21 bundles the F# plugin, built around the F# Compiler Service, which gives initial F# support.

Warnings and errors in IDE

By initial support, we mean that right now some features work with F#, some features are still being worked on. We’re building the foundation on top of which we’ll provide excellent coding, navigation and refactoring features.

What works? Rider can open, build and debug F# projects. F# files get syntax highlighting, code completion and display warnings and errors. And of course, Rider provides rich navigation, even for mixed F# and C# projects.

What doesn’t work? Right now, quick-fixes and refactorings are our number one priority. Amongst other things, debugging doesn’t work for .NET Core, .fsx files are only partially supported and there’s no interactive window. And cross-language navigation requires a build before you can navigate from F# to C#. We’ll be working on these (and the inevitable bugs) in future builds.

Work in progress: we’ll provide more details on F# support in Rider in a separate blog post next week.

Bundled TFS plugin

Working with Microsoft Team Foundation Server (TFS) or Visual Studio Team Services (VSTS)? Then we have great news for you! Microsoft’s TFS plugin now comes bundled with Rider.

On startup (or from the VCS | Checkout from Version Control | Team Services menu), we can clone any TFS or VSTS project. After connecting to the TFS server or VSTS, Rider guides us through a wizard where we can clone our project’s source code, no matter if it’s TFVC or Git based.

Working with Microsoft TFS and VSTS in Rider

Once connected, we can work with our TFS / VSTS repository: commit, push, pull, … Connections can be managed from the settings (under Version Control | Team Services / TFS).

Highlighting (and navigation) in XML doc comments

Code comments can help annotate our source code and describe the intended usage. We can do this in a structured way using XML doc comments (e.g. The to contact.).

XML doc comments make it easy to generate code and SDK documentation, and now Rider also makes it easy to read them with syntax highlighting, tooltips with more information, and navigation:

XML doc comments with highlighting, smart tooltips and navigation

New and improved settings pages

A lot of work went in adding and improving various settings pages. For example, Rider’s NuGet client now has its own settings page under Build, Execution, Deployment | NuGet where we can configure default search behavior, install, uninstall and restore settings. Dependency behavior can be set to, for example, always install the latest patch version available. NuGet settings can be stored in a ReSharper settings layer and shared with team members.

Rider NuGet settings

Pages where settings are “mixed” and can apply to both IntelliJ IDEA frontend and the ReSharper backend now show a warning that these are stored in different places. For example, R# settings can be stored and shared using a ReSharper settings layer, whereas IntelliJ IDEA settings are stored under the .idea folder and need to be added to source control in order to be shared.

The various frontend and backend inspections can now be configured together under  Editor | Inspections. Inspections can be searched here, making it easy to configure code style inspections, language-specific inspections for C#, VB.NET, ASP.NET, HTML, CSS, LESS, Sass, regular expressions, and more languages.

Mixed ReSharper and IntelliJ IDEA inspection settings in Rider

Inspections, whether provided by IntelliJ IDEA or ReSharper, can be run from the Run Inspection by Name popup (Ctrl+Alt+Shift+I). IntelliJ IDEA inspections can also be enabled or disabled from the Search Everywhere popup (double shift).

Search Everywhere showing inspections

Detect and use existing file indents for editing

I’ve probably mentioned this before: the best features are just a checkbox that enables something smart. And in this case, we don’t even have to enable it as it’s there by default! Rider now detects existing file indents when opening and editing source code. We can change its settings under Editor | Code Style if needed – but it’s pretty darn handy to have Rider recognize whether we’re using 2 spaces, 4 spaces, tabs or another indentation format.

Download the new Rider EAP! We welcome your feedback through the comments below!

This entry was posted in How-To's and tagged , , , , , , . Bookmark the permalink.

16 Responses to Rider EAP 21: F# support, bundled TFS plugin and more

  1. Jean-François Héon says:

    Just opened an F# solution previously created with Xamarin and it worked like a charm. Unit tests worked too without any fiddling.

    Once there is an interactive window, it could become my go-to F# IDE.

    Thank you for working on F# support!

  2. Stuart Lang says:

    Thank you for you work to support F#. The .NET tooling ecosystem has never looked better!

  3. Christian Schmitt says:

    Still no way to call dotnet run inside a run configuration. very disappointing.

  4. Gauthier Segay says:

    Stoked to see F# support coming-up and that JetBrains intend to have it be excellent!

    Thanks to all.

  5. Chris says:

    This awesome! I’ve been hoping for F# support since the early, private EAP days. If Rider can match the capabilities of the Ionide suite, I’ll be pushing to migrate our entire development tool chain on release.

  6. Nestor says:

    Great news!
    Doing C++ with CLion is a pleasure, having an alternative to doing F# with Ionide (which is a pleasure to work with but the more the merrier) would be nice :)

  7. Pingback: Azure Management Libraries für .NET & Rider EAP 21 mit F#-Support

  8. Pingback: Fast Forward: Azure Management Libraries für .NET & Rider EAP 21 mit F#-Support - zend-framework.net

  9. Carel Lotz says:

    Still no debugging .NET Core on Mac?

  10. Pingback: Dew Drop - April 28, 2017 (#2468) - Morning Dew

  11. Pingback: Google Assistant SDK, TypeScript 2.3, Rust 1.17, JetBrains’ Rider EAP 21 — SD Times news digest: April 28, 2017 - SD Times

  12. Mariusz says:

    Great job guys, but I can’t wait to full Xamarin development support 😉

  13. Pingback: Google Assistant SDK, TypeScript 2.3, Rust 1.17, JetBrains’ Rider EAP 21 — SD Times news digest: April 28, 2017 – Ok Huge

  14. Sander says:

    Rider is not detecting .tfignore files, at least not ignoring files or folders listed in the .tfignore files.

Leave a Reply

Your email address will not be published. Required fields are marked *