RubyMine 2022.3.x
Released: Nov 30, 2022
2022.3.x 中的更新
2022.3.3
Updated Mar 10, 2023
Features
- Improved Ruby code completion speed.
- You can now prevent a line break from appearing when pasting a line copied from an empty selection.
- Prisma: Improved views support.
- Added the ability to monitor database connections and sessions.
- Added the ability to run queries periodically.
2022.3.2
Updated Jan 30, 2023
Features
- Updated Settings Sync plugin - Improved the behavior of the Settings Sync plugin. In previous RubyMine versions, if you used multiple JetBrains IDEs (possibly including different versions of RubyMine), settings in one IDE would be synced across all of them. To provide you with more flexibility, an Enable sync across different types of IDEs checkbox has been introduced in Preferences | Settings | Settings Sync. The checkbox is deselected by default, meaning that the settings will only be synchronized between different versions of RubyMine. If you want settings to be synchronized across all your IDEs, not just RubyMine, select the checkbox.
- Support for a new type of ESLint configuration file - Added support for the new ESLint flat configuration file type, eslint.config.js, which was introduced in ESLint 8.21.0. These files are now detected and ESLint is executed without the -config flag.
Fixes
- Fixed an issue when working on macOS Ventura stemming from new technical restrictions implemented by Apple. Signature validation would fail when using the Toolbox App to automatically update RubyMine. Fixed the problem by disabling writing or editing files in the installation directory for RubyMine after it is installed.
- RBS target presentation is correct when using the bundled signatures.
- The Structure view now works for shared_examples_for.
- RuboCop no longer requires a suitable Ruby SDK.
- Close (X) icons are no longer displayed for non-closable tabs in the Run/Debug tool window.
- The toolbar icons in the Remote Host tool window are now displayed correctly in the new UI.
- Search Everywhere once again works as expected, providing all text search results.
- When committing via a modal dialog, the process no longer freezes when additional external formatters or code analysis plugins are enabled.
- A detached IDE window no longer disappears on restart if there's no open file in the main window.
- Opening the terminal using a custom shortcut or a non-default keymap no longer causes unwanted symbols to be printed in the command prompt.
- PostgreSQL database names with slashes are supported.
- Virtual views can be found via the Search dialog.
- Virtual views are correctly refreshed.
2022.3.1
Updated Dec 27, 2022
Features
- Find Usages can now help you search for all usages of variables defined via let calls in RSpec shared contexts.
- All bookmarked files in the list now can be opened via bookmark context menu action or pressing F4 when the list is selected.
- Added type inference for scope variables in Vue. IDE supports the scoped slots types coming from web-types and from source files.
- Improvements for Vitest:
- You can now run in-source tests from the gutter.
- You can also run tests with Docker and re-run failed tests in WSL and Docker.
- Starting with this RubyMine version you can install, update, and use the new debase debugger with Docker compose SDK.
- Added support for the latest version of the implementation of the Ruby programming language (9.4.0.0) atop the Java Virtual Machine (JVM).
Fixes
- Fixed the issue that was causing false positive warnings about import declarations used in <script setup> to be shown in the Problems tool window.
- Fixed the issues that were causing incorrect import statement placement in Vue components.
- Fixed the issue that was causing Vitest watch to get stuck after renaming a test to an existing test name.
- Fixed the issue with Actions on Save not working as expected.
- Fixed the issue with the Hide button not minimizing the Debug tool window when the Debugger Console tab is open.
- Fixed two issues with Angular.
- Double-clicking on the window header will work as expected and maximize the window size on macOS.
2022.3
Updated Nov 30, 2022
Features
- 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.
Fixes
- Fixed several Nuxt 3 issues.