ReSharper C++ 2018.3

Mejoras significativas para las bases de código C++ y Unreal Engine.
Diciembre 19, 2018
Nueva versión

Características

  • Responsive editor - ReSharper C++ 2018.3 offers several notable performance improvements. First, Find code issues and the InspectCode command line tool are now parallelized, which makes them significantly faster. Second, Cache loading on project reopening is now parallel as well, which makes it twice as fast on average. Finally, there are general performance improvements in code completion, initial project indexing, and file analysis.
  • Unreal Engine support - Start working with your Unreal Engine 4 projects in seconds. When opening a solution, ReSharper C++ only parses non-engine projects, while the engine files are indexed in the background later. This means you can start typing or navigating through your project seconds after you open it. Unreal Engine uses specific macros (UCLASS, USTRUCT, UENUM, etc.) to emulate missing reflection features in C++. These macros are now parsed by ReSharper C++ correctly, even before you build your Unreal Engine project.
  • Better error diagnostics in templated code - When the overload resolution fails in C++, ReSharper C++ 2018.3 now provides a more specific description of the cause, identifying the exact requirements that aren’t satisfied. This is especially helpful for failed enable_if conditions, ill-formed expressions inside decltype, and absent inner types.
  • Code completion in dependent code - Completion now uses default template arguments to provide suggestions in dependent code.
  • Hints and parameter info
    • The Parameter Info popup shows even more information such as deleted functions, implicitly generated functions, and template parameter descriptions taken from documentation comments for template arguments. Parameter Info also works for dependent code and for user-defined binary operators. It’s also now colored and more readable.
    • C++ name hints in function calls and aggregate initialization can help you find your way through long (and sometimes nested) lists of parameters. You may also find useful the new name hints at the end of namespace definitions, right after the closing brace.
  • Code inspections and quick-fixes - More than 10 new inspections were added, many of them with matching quick-fixes to resolve the detected problems. For example, now there's a quick-fix you can use to add a functional-style cast and initialize all uninitialized members/bases. Meanwhile, integration with Clang-tidy was updated to Clang 7, bringing 50+ additional checks.
  • Refactorings and code tweaks - ReSharper's refactorings are now more knowledgeable about modern C++. When you use the Change Signature refactoring, you can now choose to make a function constexpr, const, or noexcept, as well as change the ref-qualifiers. ReSharper C++ 2018.3 also introduced several new context actions to help improve your code base:
    • Generate a function implementation and copy it to the clipboard instead of inserting it into the document.
    • Generate a function that converts an enum to a string (customizable via a live template).
    • Convert a regular return type in a function declaration into a trailing return type, and vice versa.
    • Insert template arguments deduced using class template argument deduction.
  • Navigation
    • Go to declaration now works on non-dependent decltype specifiers and lambdas (going to the lambda body). It even works during the initial project indexing.
    • Search Everywhere, a universal search action, has added some additional filters. For example, /gf for global C++ functions, /gv for global C++ variables, or /d for macro definitions.
    • Navigating to unmatched signatures. For example, when Go to declaration is called on a changed declaration of a member function, it goes to its definition with an old signature.
  • Code Style - Often it's much easier to customize formatting settings by simply detecting them from the existing code. Use ReSharper | Edit | Detect formatting settings menu to have ReSharper detect code formatting settings.
  • Unit testing with Catch - This release also provides support for Catch 2.5 and its new templated tests.
Unreal Engine support

ReSharper C++

Extensión de Visual Studio para desarrollo C++.

¿Alguna pregunta?

Chatee en vivo ahora mismo con nuestros especialistas en licencias de JetBrains.