ReSharper Ultimate 2017.1 EAP: what’s new in builds 2 and 3
We’ve just released the third Early Access Preview build of ReSharper Ultimate 2017.1. Let’s take a look at the recent changes in this and EAP 2.
The Generate Code menu gets a new option to generate properties or read-only properties for your TypeScript classes, and we’ve updated the Generate Overriding Members to now call ‘super’ whenever possible.
TypeScript also gets highlights and quick-fixes for unused imports in ES6 style imports. And finally, we’ve fixed an issue where we weren’t properly handling the typeRoots property from tsconfig.json.
ReSharper has two ways of specifying how you want your code to look – Formatting Style and Code Style. Formatting is all about the syntax of your code, indenting, wrapping, the layout of braces, etc. Code Style is all about changing your code without changing the semantics, for example, explicitly using a type name, or using var.
This build introduces new Code Style settings for type members bodies, allowing you to choose between always using a body block, with braces, or using the expression format. ReSharper will mark any incorrect usage and provide a quick-fix to quickly rewrite to the correct style.
And of course, we’re still working on C# 7 support, with this build correctly supporting ValueTask<T> and user defined, task-like types.
Visual Studio 2017
We’re continuing to improve our support of Visual Studio 2017 in these two builds, with the Move to Folder refactoring now working in Open Folder mode. We’ve also fixed an issue so that ReSharper will properly respect the current target framework context again. This is set by the dropdown in the top of the editor window, and can change settings such as the assemblies being referenced, as well as symbols defined in the build and pre-processor.
ReSharper C++ sees a couple of important updates. Firstly, we have made a change to reduce the time spent reindexing after a new preprocessor directive is added to a header file. This change means that we no longer reindex any file that includes the changed header file. We’re looking for feedback on this change, so please let us know if you see any red code or broken navigations or refactorings with this build. The old behaviour can be restored using an option in the Code Editing | C++ | Performance options page.
Secondly, this build adds control flow inspections for class fields to the existing inspections for local variables and function parameters.
And finally, we’ve added a nice new option to automatically detect and set the indent size your code is using. The option is disabled by default, but when enabled, ReSharper will keep the Visual Studio indent size setting up to date with the discovered indent size of the currently open file.
Please, download the latest EAP build from our shiny new Early Access page, and
give it a go. As ever, let us know any issues you run into!
Subscribe to Blog updates
Thanks, we've got you!
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…
OSS Power-Ups: bUnit – Webinar Recording
The recording of our webinar, OSS Power-Ups: bUnit, with Egil Hansen and Steven Giesel, is available. This was the twelfth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webi…
Accelerating Your Testing Workflow with Unit Test Creation and Navigation
Unit tests play an important role in our daily development workflow. They help us ensure our codebase's correctness when writing new functionality or performing refactorings to improve readability and maintainability. In the process, we often create new test files that accompany the p…
Introducing Predictive Debugging: A Game-Changing Look into the Future
With the introduction of debugging tools, software developers were empowered to interactively investigate the control flow of software programs to find bugs in live environments. At JetBrains, we've always strived to improve the art of debugging. Besides the more standard things you expect from a de…