And interpolated strings get support for localisation, with a highlight to suggest converting the interpolated string to a resource, as well as both a quick-fix and a refactoring to automate the process.We’ve added new quick-fixes for string literals containing invalid escape characters, to either replace with a verbatim string, or escape the characters.You can now uncomment or even delete a comment straight from Alt+Enter.Check all parameters of a method for null (or empty strings) from a single Alt+ Enter menu.These highlights are treated just like ReSharper’s own inspections, with one big exception – until now, it’s not been possible to suppress an inspection with the standard // ReSharper disable once … style comment.ĮAP3 includes a new field in the SSR dialog, called “Suppression key” where you can specify the text that will be used and recognised in the comment.Ĭ# support gets a number of new features: A Structural Search and Replace pattern can be used to create your own ReSharper inspections, declaratively (see the web help for more details). SSR patterns can now be suppressed with a standard comment. This currently works with C#, HTML, XML and XAML as well as Razor files, and we’ll be adding support for other languages as the EAP continues. We really welcome your feedback on this feature – we’re finding it useful for quickly copying and altering code, or working with elements in string interpolation. You can change this behaviour in the options. But when the text caret is placed with a code element, Tab and Shift+ Tab will start navigating and selecting the structure of your code. Of course, Tab will continue to handle template expansion, and will also indent (and Shift+ Tab will outdent) when the text caret is placed at the start of a line. Shift+ Tab will do the same, but in reverse. Or when editing a for statement, Tab will select the initialiser statement, then the terminating condition and then the iterator statement. The idea of this feature is to allow you to use the Tab and Shift+ Tab keys to quickly move the text selection to the next or previous code element without having to use the cursor keys, allowing you to quickly navigate to the next important piece of code you need to edit.įor example, when editing a method call, repeatedly hitting Tab will select each argument in turn. Secondly is a new feature we’re formally calling Structural Navigation, but is also known as “tab navigation”. NET Core RC2 projects, with a number of issues fixed. In recent weeks, we’ve published builds 3 and 4 of the ReSharper 2016.2 EAP, and we have a lot to share with you, including a couple of new features, as well as the usual round of issues being fixed.įirst up is continued improvement to our support for.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |