Jetbrains RubyMine – Ruby/Rails development tool

Jetbrains RubyMine: The smartest macOS Ruby and Rails development IDE

I think RubyMine is the best integrated development environment (IDE) for Ruby and Rails on macOS. It provides a very smart editor and rich features that can greatly improve the development efficiency of Ruby and Rails.

New features in RubyMine 2024.1 include:

  • Use local AI for full-line code completion
  • Support for Mise version manager
  • Code check for updates to Ruby 3.3
  • Support for Ruby classes and files with custom naming conventions
  • Closing tags in ERB
  • Run VCS commands using the current project’s SDK
  • Debugging support for Ruby 3.3 (debase 3.0)
  • Brand new terminal
  • Sticky lines in editors
  • Debug type renderer for AI assistant
  • Other improvements

Download

https://www.jetbrains.com/ruby/download

Updates to JetBrains RubyMine For Mac v2024.3.4 include:

  • Performance Improvement : Optimized overall performance, especially when working with large projects, to improve responsiveness and stability.
  • Bug fixes : Fixed some known bugs and vulnerabilities to improve the reliability and security of the software.
  • Code navigation and editing improvements : Enhanced code navigation, improved code auto-completion and quick fix options, and improved development efficiency.
  • User Interface Improvements : The user interface has been optimized to make it more intuitive and easier to use, and more customization options have been added.
  • Debugging tool improvements : Improved debugging tools, enhanced support for multi-threaded debugging and asynchronous code, and improved debugging experience.

These updates are designed to improve development efficiency and user experience, making RubyMine a more powerful Ruby and Rails development tool. Detailed updates can be found in the official JetBrains release notes.

Use local AI for full-line code completion

RubyMine now supports full-line code completion for Ruby code. This feature is powered by advanced deep learning models integrated into the IDE. It uses contextual analysis to predict and suggest entire lines of code, improving coding efficiency. These suggestions are provided by language models trained specifically for different languages and frameworks. These models run entirely on your local device, ensuring your data is secure and eliminating the need to communicate with external servers. This feature is included in your RubyMine license subscription.

Support for Mise version manager

RubyMine 2024.1 adds support for the Mise version manager. This support includes detecting the Ruby version installed by Mise, compatibility with Bundler, and key operations such as running, debugging, and testing.

Support for Ruby classes and files with custom naming conventions

RubyMine now recognizes Ruby class and file names with custom naming conventions and displays the correct icons for them in the project view, tabs, and global search. Navigation and code intelligence also work with abbreviations used in controllers and models.

Closing tags in ERB

In ERB files, RubyMine can add closing <% end %> tags after loops and conditional blocks (including if, unless, while, for, begin, until, etc.).

Other improvements and new features

  • Support for the Mise version manager, including detection of the Ruby version of your Mise installation, compatibility with Bundler, and all key operations such as running, debugging, and testing.
  • Support for executing VCS commands on the local SDK of the current project. When using Git, all scripts will use the specific Ruby SDK associated with the project.
  • Support for debugging in Ruby 3.3 using debase 3.0.
  • Brand-new Terminal: RubyMine 2024.1 release introduces a brand-new Terminal that simplifies command-line tasks with visual and functional enhancements. This update brings a fresh look to the familiar tool, separates commands into distinct blocks, and provides more features such as smooth navigation between blocks, command completion, and access to command history.
  • Sticky Lines in the Editor: To simplify working with large files and exploring new codebases, we’ve introduced Sticky Lines in the Editor. This feature pins key structural elements, such as the beginning of classes and methods, to the top of the editor, keeping them visible as you scroll. By clicking on a pinned line, you can quickly navigate the code.
  • AI Assistant: Debug type renderer.
  • Other improvements: The AI assistant has received some valuable updates, including improved test generation, hints for custom commit messages, the ability to create files from code snippets, and an updated feature for generating code in the editor.

Full-line code completion

RubyMine now supports full-line code completion for Ruby code. This feature is powered by advanced deep learning models and seamlessly integrated into the IDE. It predicts and suggests entire lines of code based on contextual analysis, improving coding efficiency. These suggestions come from language models trained specifically for different languages and frameworks. The models run entirely on your local device, ensuring data security and eliminating the need to communicate with external servers. This feature is included with a RubyMine license subscription.

Support for custom naming conventions for Ruby classes and files

RubyMine now recognizes Ruby classes and files with custom naming conventions and displays the correct icons for them in the project view, tabs, and global search. Navigation and code intelligence also support abbreviations used in controllers and models.

Closing tags in ERB

In ERB files, RubyMine adds a closing <% end %> tag after loops and conditional blocks (including if, unless, while, for, begin, until, etc.).

Mise version manager support

RubyMine 2024.1 adds support for the Mise version manager. It can detect the Ruby version installed by Mise and ensure compatibility with Bundler. It also provides support for key operations such as running, debugging, and testing.

Run VCS commands using the current project’s SDK

RubyMine can now execute VCS commands on the local SDK of the current project. This means that when using Git, all scripts will use the specific Ruby SDK associated with the project.

Debugging support for Ruby 3.3 (debase 3.0)

RubyMine 2024.1 version adds debugging support for Ruby 3.3, using debase version 3.0.

New Terminal (Beta)

RubyMine 2024.1 introduces a brand new terminal that simplifies command-line tasks with visual and functional enhancements. The updated terminal has a more modern look, commands are divided into different blocks, and provide more features such as smooth navigation between blocks, command completion, and easily accessible command history.

Sticky lines in editors

To simplify working with large files and navigating new codebases, RubyMine introduces the Sticky Lines feature in the editor. This feature pins key structural elements, such as the beginnings of classes and methods, to the top of the editor, keeping them visible as you scroll. This way, the scope remains visible, and you can quickly navigate the code by clicking on the pinned lines.

AI Assistant

The AI assistant has received several updates, including improved test generation, hints for custom commit messages, the ability to create files from code snippets, and an updated feature for generating code in the editor.

Please note that in version 2024.1, the AI Assistant has been unbundled and is now available as a separate plugin. This change is intended to provide greater flexibility so you can better decide whether to use AI-based technologies and have more control over your preferences and requirements in your work environment. The AI Assistant still requires an active JetBrains AI subscription.

Ruby related improvements

  • You can now escape from a closed | symbol by pressing the Tab key.
  • RubyMine no longer defined?()warns about retry, redo, break or next inside define statements (even outside loops).
  • RubyMine now more accurately detects method definitions with literal receivers and displays corresponding warnings.

Version Control System (VCS)

  • In the Log tab of the Git tool window, you can view the changes in a specific branch, which works for GitHub, GitLab, and Spaces. Just click the branch name in the Pull Requests tool window and select “Show in Git Log” from the menu.
  • RubyMine 2024.1 introduces an enhanced code review experience for GitHub and GitLab users. With the new review mode, it enables authors and reviewers to interact directly in the editor. After checking out a pull/merge request branch, review mode automatically activates and displays pink markers in the margin indicating that code changes are ready for review. Clicking these markers displays a pop-up showing the original code, allowing you to quickly identify the content of the changes. Margin icons help you quickly start new discussions and view and hide existing ones. They also provide quick access to comments for easy review, reply, and response.
  • A new column has been introduced in the Log tab of the Git tool window to easily view the results of GitHub commit checks performed by your CI system.
  • After you successfully push changes to your version control system, the IDE will alert you about the successful push with a single notification and suggest creating a pull/merge request.

Smart Editor

RubyMine has built-in support for the Ruby language and is very smart.

  • Code completion and error checkingarray.find_index{|item| item > 3} # 自动完成 pritn "Hello World" # 错误检查
  • Syntax highlighting makes code more readable
  • Navigation Navigation function can quickly jump between files and code symbols
  • Refactoring supports renaming methods, extracting variables, and other refactoring operations

These automated editor features can greatly reduce the tedious work of code entry, allowing developers to focus more on logic.

Rails and Web Development Support

RubyMine provides professional-grade Rails support:

  • Built-in Rails project generator, supports fast scaffolding
  • Provides Rails Console and integrated terminal
  • Supports Rails routing, views, assets pipeline, etc.
  • ActiveRecord works out of the box with common gems

There is also good support for other web frameworks such as Sinatra.

Debugging capabilities

RubyMine has a built-in graphical debugger that can set breakpoints in the code, execute step by step, monitor variables, etc., which can greatly improve debugging efficiency.

macOS experience optimization

RubyMine’s experience on macOS has also been greatly optimized:

  • Support Mac shortcut keys
  • Retina display support
  • Deep integration with macOS file system and toolchain

Therefore, if you need to develop Ruby or Rails in a macOS environment, RubyMine can be said to be the best IDE choice. Its intelligent editor, rich features, and macOS optimization can take the development experience to a new level.

The best intelligent IDE for Ruby and Rails: improve your development efficiency

In the world of software development, an integrated development environment (IDE) is a key tool for improving productivity. For Ruby and Rails developers, choosing a powerful and intelligent IDE is crucial. In this article, we’ll introduce Jetbrains Rubymine 2023 for Mac, an excellent Ruby and Rails IDE, and explore how it can help you code more efficiently.

1. Smart Editor: A Powerful Assistant for Writing High-Quality Code

The intelligent editor provides first-class support for Ruby, Rails, JavaScript, CoffeeScript, ERB, HAML, CSS, Sass, and Less, making your coding experience extremely convenient. It features syntax and error highlighting, code formatting, code completion, and quick documentation viewing, allowing you to focus more on logic and thinking rather than syntax and formatting while writing code.

2. Free search: quick positioning and switching

Smart search lets you quickly jump to any class, file, or symbol, or even any IDE action or tool window. With a single click, you can navigate to declarations, super methods, tests, usages, and implementations. Additionally, the MVC-based project view and diagrams of models, classes, and gem dependencies allow for ultra-fast navigation within your Rails projects.

3. Code review and refactoring: keep the code clean and maintainable

Following community best practices, code inspections help you spot potential errors and provide quick fixes. Automatic and safe refactorings help you clean up your code, making it easier to maintain. Furthermore, Rails-aware refactorings help you perform project-level changes, such as renaming a controller, which also renames related helpers, views, and tests.

4. Testing and debugging: ensuring code reliability

A powerful debugger supports Ruby, JavaScript, and CoffeeScript, providing a graphical user interface. You can easily set breakpoints, step through your code, and take advantage of all available information. In addition, coding assistance and a GUI-based test runner help you create and run RSpec, Cucumber, Shoulda, MiniTest, and Test::Unit tests.

5. Optimize the workspace: Improve the development experience

In this IDE, you can customize the color scheme, keyboard scheme, and all appearance settings according to your preferences, making you feel comfortable during the development process. At the same time, the unified UI can save time when you use version control systems such as Git, SVN, Mercurial, etc.

6. Project environment management: seamless integration of various tools

This IDE provides seamless integration with tools like Rake Task Runner, Rails Generators, Bundler, RVM/Rbenv, Zeus, and more. The terminal doubles as an IDE tool window whenever you need it. Additionally, you can easily configure automated deployments via FTP or SFTP and manage your infrastructure using Vagrant, Capistrano, Chef, or Puppet.

In summary, Jetbrains Rubymine 2023 is a powerful Ruby and Rails IDE that can greatly improve your development efficiency and code quality. In this era of continuous development, choosing a suitable tool to make your development process smoother is something every developer should consider.

The resources on this site come from the Internet and are used for learning and research by Internet enthusiasts. If your rights are accidentally infringed, please contact the webmaster in time to handle and delete them. Please understand!
IT Resource Hub » Jetbrains RubyMine – Ruby/Rails development tool

Leave a Reply

Provide the best collection of resources

View Now Learn More