Tuesday, May 14, 2024
HomeRuby On RailsRubyMine 2023.2 EAP 7: Customizable Sort Renderers within the Debugger, Code Perception...

RubyMine 2023.2 EAP 7: Customizable Sort Renderers within the Debugger, Code Perception for Retailer Accessors, Coloured Venture Headers within the New UI, and Extra


We’ve simply launched our final Early Entry Program (EAP) construct for RubyMine 2023.2. We encourage you to discover the enhancements on this model and share your suggestions with us. Be at liberty to depart your feedback within the part under or submit any points you encounter by means of our devoted concern tracker.

You’ll be able to obtain the most recent construct from our web site or by means of the free Toolbox App

Code perception for Rails retailer accessors

Beginning with the RubyMine 2023.2 EAP 7, code perception performance is out there for retailer accessors in Rails. Code completion and determination at the moment are obtainable for attributes outlined through .store_accessor and soiled monitoring strategies, akin to u.partner_name_changed?.Attributes outlined through retailer or store_accessorare additionally obtainable in validations (for instance, validates_presence :partner_name).

Customized sort renderers within the debugger

RubyMine now means that you can customise the show codecs of various objects within the Debug instrument window. This performance is achieved by means of using renderers, that are distinctive configurations related to particular sorts that dictate how situations of these sorts are introduced within the Debug instrument window. By using customized expressions, these renderers supply a excessive degree of flexibility for displaying knowledge.

You’ll be able to configure customized renderers inSettings | Construct, Execution, Deployment | Debugger | Information Views | Ruby Sort Renderers.

You too can customise knowledge views by right-clicking within the Debug window and choosing Customise knowledge views, whichopens a devoted window the place you may configure the renderers to your required specs.

Coloured mission headers within the new UI

The most recent UI replace introduces coloured mission headers, that are designed to streamline navigation amongst a number of open initiatives. Now you can assign a definite colour and icon to every mission, offering a visible assist for distinguishing them inside your workspace.

Headers have predefined colours by default. Nonetheless, you have got the liberty to personalize them in response to your preferences. To assign a brand new colour to your mission, merely right-click on its header and entry the context menu. From there, select the Change Toolbar Colour possibility and choose your required colour. If it is advisable to deactivate this characteristic, you may merely uncheck the Use Venture Coloursin Toolbar possibility within the context menu.

Help for aliases outlined in bundlers

We’ve carried out help for TypeScript frameworks, the place path aliases are outlined within the configuration information of the bundlers and never in tsconfig.json. RubyMine will take these path aliases under consideration and supply auto-import the place the part syntax is a superset of HTML, specifically Vue, Svelte, or Astro.

Improved Preact and Stable.js help

This launch brings a bunch of fixes to reinforce our help for the Preact and Stable.js frameworks. Notably, we now have improved the decision mechanism for Stable and Preact initiatives, eliminating false errors for sophistication attributes and making certain correct navigation throughout JSX sorts. Moreover, Fragment is now not incorrectly reported as unused when the shorter syntax (<></>) is utilized. With these enhancements, RubyMine will present a smoother and extra correct Preact and Stable.js improvement expertise.

The complete record of enhancements on this model is out there within the launch notes. To be taught concerning the newest options as they arrive out, comply with RubyMine on Twitter. We submit product information and suggestions a number of instances every week.

We’d love to listen to extra about your expertise with RubyMine. Schedule a 40–60 minute name with us to debate your suggestions and get solutions to your questions!

We encourage you to share your ideas within the feedback under and to counsel and vote for brand spanking new options within the concern tracker.

Joyful creating!

The RubyMine group



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments