RubyMine 2022.3

Agrega compatibilidad mejorada con RBS junto con mejoras para trabajar con contextos compartidos.
Diciembre 2, 2022
Nueva versión

Características

  • Rails
    • Better ERB structure view - The way tags are displayed in the Structure tool window is now more convenient. Readability has been improved and extra entries have been cleaned up.
    • ActiveRecord Structure view - RubyMine now displays database attributes at the very top of the Structure view tree, and they are enabled by default. This functionality is available in both the Structure tool window (Alt+7) and the Structure popup (Ctrl+F12).
    • Quick navigation to tables in the schema.rb structure view - Added the ability to view and navigate to specific database tables when browsing your schema.rb file. You can examine and quickly find a database table or table column using the Structure tool window (Alt+7).
    • Improved New Rails Project Wizard - When creating a new Rails project, you will see its path right under the Location field. The Rails version field has been updated so it’s easier to install the necessary version of the Rails gem using the plus icon. In the JavaScript framework field, the “default” value has been replaced with the explicit name of the framework used by default.
    • A new inlay hint for controller actions - Added inlay hints above each controller action with a URL that links to the action.
  • New UI
    • New UI available via settings - You can now try out the new RubyMine UI. It provides easy access to essential features and progressively discloses complex functionality as needed, resulting in a cleaner look-and-feel that is more modern and powerful. You can switch to the new UI in Settings | Appearance & Behavior | New UI (Beta).
  • RBS
    • Support for RBS type provision for method references - Support for RBS type provision is now available when you call a method reference.
    • Improved editing and adding method signatures to Ruby method definitions - Simplified the process of writing methods with type signatures. There is no longer any need to manage multiple Ruby and RBS files yourself. You can now write a method definition with just one action.
    • Showing info from RBS in the Documentation Tool Window - You can now view type information from RBS using the Quick Documentation popup (Ctrl+Q). If the method has an RBS signature, RubyMine will display information about the parameters and return the value in the documentation.
    • New inlay hints for self-type bindings in RBS - New inlay hints for blocks with self-type bindings in RBS are now available. RubyMine now also shows Numbered parameter type hints only when using a numbered parameter inside a block to avoid displaying too many inlay hints.
  • RSpec
    • Completion of shared context names - Added support for completion options from any defined shared contexts and examples.
    • Support for example group aliases: xdescribe, xcontext, fdescribe, fcontext - RubyMine now recognizes the xdescribe, xcontext, fdescribe, and fcontext example group aliases and shows these blocks in the Structure tool window. You can also run these tests using the gutter icons right in the editor.
    • Navigation between controllers and request and routing specs - RubyMine now links request and routing specs to their respective controllers. You can open the necessary request or routing spec and press Ctrl+Shift+T to navigate to the controller used as a test subject. You can use the same shortcut to navigate backwards.
    • Find Usages and Rename for shared contexts and examples in RSpec - You can now search for usages of shared contexts in RubyMine and change names of shared contexts and examples along with their references by using the Rename refactoring.
    • Run shared examples in the context of referencing groups in RSpec - Added the option to specify the context for executing shared examples. Now when you run specs containing shared examples, RubyMine displays a dialog where you can choose a context in which to execute them.
  • Remote Development
    • A new way to work with projects in Microsoft Windows Subsystem for Linux (WSL) 2 - Added an alternative way to use the Remote Development functionality if you work with projects running in WSL2 file systems. Instead of running a full IDE on Windows, your IDE backend will launch directly in WSL2 itself. Then you can connect to it the same way you would connect to any remote machine.
  • Other Improvements
    • New project templates for Next.js and Vite - The New Project wizard on RubyMine’s Welcome screen now includes project templates for Vite and Next.js. The Vue template has also been updated so it follows the latest standards.
    • Updates for Vue:
      • RubyMine can now take care of unresolved imports and will offer suggestions for importing Vue components.
      • Added support for the props destructure syntax.
      • Improved the behavior of code completion and type checking for Vue library component props.
    • Support for the .dockerignore file type - Added full support for .dockerignore files, including code highlighting and completion. These files are now taken into account when you build an image from the IDE.
    • New Settings Sync solution - The new Settings Sync plugin can sync all shareable IDE settings, bundled plugins, and third-party plugins. Depending on your current approach to synchronization, you may need to enable the new plugin manually.
    • Vitest support - Added support for Vitest, a Vite-native unit test framework.
RBS type provision

RubyMine

IDE de Ruby on Rails que proporciona herramientas esenciales para los desarrolladores.

RubyMine también está disponible en:

¿Alguna pregunta?

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