The way tags are displayed in the Structure tool window is now more convenient. Structure view in Rails ERB structure view If the method has an RBS signature, RubyMine will display information about the parameters and return the value in the documentation. Press Ctrl+Q or F1 again to open this documentation in the Documentation tool window. Now you can view type information from RBS using the Quick Documentation popup (Ctrl+Q on Win/Linux or F1 on macOS). Showing info from RBS in the Documentation Tool If a type signature is missing, you can add it using the quick-fix for the Missing Type Signature inspection. You can use the quick-fix available for the Mismatched Type inspection or an intention action on the declaration’s name in a Ruby file to edit the method definition. Now you can write a method definition with just one action, without any need to switch between your Ruby and RBS files. We’ve made it easier to add and edit method signatures for Ruby method definitions. Editing and adding method signatures to Ruby method definitions You can switch to the new UI in Settings | Appearance & Behavior | New UI (Beta). 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. We invite you to try out the new RubyMine UI. For a detailed description of this update, please visit our What’s New page. Updated navigation and structure view functionalityīelow is a brief overview of the most notable features.Improvements for working with shared contexts and examples in RSpec.A new UI that you can enable in the settings.The latest version of our popular Ruby and Rails IDE is packed with improvements, including:
0 Comments
Leave a Reply. |