Hello everyone. We have published another EAP build of ReSharper Ultimate 10.1 this week.
This time it’s almost all about mainline ReSharper. As usual, there’s a number of issues that we fixed in this build: most of them are bug fixes, but there are some new features too.
Convert XML string to a LINQ to XML object
This new context action, which is available wherever you have valid XML inside a string literal, lets you convert this string to a LINQ to XML object (using
Convert JSON string to a Newtonsoft JSON.NET object
Similarly to XML, you can now use a context action that converts a JSON string to a Newtonsoft JSON.NET object:
Note that this action is only available if your project references Newtonsoft.Json assembly, which is distributed under MIT License and can be installed from the NuGet Gallery.
Combined with ‘Smart Paste’, which was introduced in the first EAP build of ReSharper 10.1, these two actions complete the workflow of transferring existing XML or JSON into C# code.
The support of JSDoc, which is available starting from ReSharper 9.1, is further improved in this EAP build. ReSharper can now parse generics, HTML markup, and parameters with properties in your JSDoc comments. Everything that ReSharper infers from JSDoc becomes immediately available in code completion suggestions, parameter information tooltip, etc.
You may also notice that in this build there is no ‘Tip of the Day’ anymore. A modal dialog was a rather outdated way of displaying context help and according to our statistics, hardly anyone used this feature. We would like to develop a more usable way of displaying contextual help in future, and we welcome any ideas on how this should look like.
If you are eager to try the changes described in this post, please go on and download ReSharper Ultimate 10.1 EAP.