F# support improvements in Rider 2017.2

Rider 2017.2 EAP builds come with a series of new features and improvements around F#, such as code folding, commenting with block commentdebugger expression evaluation on hover, support for XML docs in tooltips and more!

Many visible improvements were made, as well as “invisible” ones. For example, we’ve updated performance of parsing and working with the F# FCS – an optimization we are contributing back to the Visual F# compiler and tools so others can benefit from it, too.

Now let’s look at the more visible things!

Continue reading

Posted in How-To's | Tagged , , , , | 4 Comments

ReSharper Ultimate 2017.2.2 available

A new minor update for the ReSharper Ultimate family is available for download!

ReSharper 2017.2.2 fixes the annoying code completion bug with duplicate parentheses (RSRP-466206) and addresses the remaining known issues when completing сode with Tab (RSRP-466421). It also improves the null checking quick-fix behavior (RSRP-464225) and correctly resolves .NET Standard 2.0 libraries in Visual Studio 2017 version 15.4 preview 4 (RSRP-466417). See all fixes in ReSharper 2017.2.2.

ReSharper C++, dotCover, dotTrace, dotMemory, and dotPeek 2017.2.2 have been updated solely for compatibility reasons and include no significant changes.

In case you were affected by the issues mentioned above, we recommend that you download and install ReSharper Ultimate 2017.2.2.

Note to ReSharper EAP users: we’re already working on version 2017.3 and will open early access soon!

Posted in How-To's | Tagged , | 5 Comments

Support for Unity shaders in Rider 2017.2

The last couple of builds of Rider 2017.2 EAP have seen a number of under-the-hood and foundational fixes and updates to the Unity support.

Firstly, Rider will now read options such as the unsafe flag and pre-processor symbols from the mcs.rsp mono compiler response file, so Rider will now know what symbols you have defined, and analyse the correct branch in #ifdef’d code blocks. This change is exciting to us because it came from the community – yes, the Unity support is open source, and we accept pull requests!

Secondly, we’ve made significant improvements to the ShaderLab parser. We’re not just doing syntax highlighting of .shader files, but we also parse the file and build syntax trees which we can use for syntax error highlighting, and going forward, inspections and analysis. Unfortunately, our parser wasn’t complete, and could highlight correct code as a syntax error. The parser now understands the file format a whole lot better and you should no longer see incorrect code (barring the occasional bug of course). We also highlight pre-processor errors and warnings correctly.
Highlight warning preprocessor directives

Continue reading

Posted in How-To's | Tagged , | 1 Comment

Find in Path gutter and more UI improvements in Rider 2017.2

In Rider 2017.2 EAP, we made some changes to Find in Path (Ctrl+Shift+F). Search results from the same lines are now merged together. The Preview panel now has a left-hand gutter that displays line numbers, navigation icons, context actions and local change markers. This makes it easy to make changes directly from a search!
Find in Path improvements

Continue reading

Posted in How-To's | Tagged , , | 7 Comments

Rider 2017.2 EAP build 3

We’ve got another fresh EAP build for you: get Rider 2017.2 EAP 3!

Rider 2017.2 EAP - build 3 - Early Access Program

Here’s the list of this build’s highlights:

  • Better npm integration: Rider opens the npm tool window and offers to run npm install on opening a solution that contains a top-level package.json file.
  • tsconfig.json is now detected and taken into account when analyzing TypeScript files.
  • Call Tracking and Value Tracking actions are now directly available from the Alt+Enter menu on member and parameter declarations.
  • Import and export of all global settings is available, including both settings coming from ReSharper and the IntelliJ platform.
  • Solution-wide analysis (SWEA) is automatically paused during NuGet restore.
  • Improved Unity support, including better highlighting in .cginc files and injected Cg fragments in .shader files.
  • Better presentation of paths to MSBuild, Mono and .NET Core in Rider settings (Build, Execution, Deployment | Toolset and Build).
  • Performance stabilization (in progress).

If you want to glance through the list of bugs fixed, here’s the list for you.

Please download Rider 2017.2 EAP 3 and give the new build a try!

Posted in How-To's | Tagged , , , , , | 7 Comments

Revert and reword Git commits, control commit message style with Rider

What else is new in Rider 2017.2 EAP? Among other improvements, Rider is now based on a more recent version of the IntelliJ platform, which gives us a set of improvements in support for version control systems.

When working with Git, we added support for reverting and rewording commits. From the Log tab in the version control tool window, it’s now possible to revert a commit or change the commit message for any commits that have not been pushed yet.
Reword Git commit

Continue reading

Posted in How-To's | Tagged , , | 2 Comments

Open files and folders, and more project model improvements in Rider

What else is new in Rider 2017.2 EAP? Let’s see!

Open file or folder

Not all code is in a solution or project. So we added the ability to open a file or folder from the Rider start screen, the File | Open menu and from the command line (bin\rider somejavascriptfile.js). Here’s me working on our user group’s static HTML website:
Open folder / open file without needing solution or project

Continue reading

Posted in How-To's | Tagged , , , , , , | 6 Comments

Call and value tracking come to Rider

Let’s look at more improvements in Rider 2017.2 EAP. In major news, the team has delivered on a popular feature request — that is, bring Call Tracking and Value Tracking from ReSharper over to Rider.

Where does this value come from? Where are we using this value? What are the call trees this method is used in? Using the Inspect This… action (Ctrl+Alt+Shift+A in both ReSharper and Visual Studio keymaps), we can now let Rider figure this out for us.

Continue reading

Posted in How-To's | Tagged , , , , | 4 Comments

Multi-line import completion, code generation improvements in Rider 2017.2

In Rider 2017.2 EAP, we did quite some work on code completion.

For example, for CSS, JavaScript and TypeScript as well as .config, .csproj and XML files, more and better suggestions are now available.

Multi-line code completion has been improved, too — including import completion in C#. (tip: use Shift+Alt+left mouse click to set multiple text carets)
Code completion with multiple cursors

Continue reading

Posted in How-To's | Tagged , , , | 3 Comments

Better JavaScript and TypeScript support in Rider 2017.2

We announced a new Rider 2017.2 EAP build late last week but we only outlined the changes that it brought. This week, let’s dive into what’s new. To start off, here’s a summary of changes in JavaScript and TypeScript support, courtesy of a newer version of the IntelliJ platform that Rider has migrated to.

When hovering objects with the mouse and holding Ctrl, the inferred type for objects (annotated with parameter hints) is displayed in a tooltip.
TypeScript type hints

Continue reading

Posted in How-To's | Tagged , , , | 6 Comments