Thursday, March 28, 2024
HomeRuby On RailsRubyMine 2023.2 EAP3: Up to date RBS Help and Search All over...

RubyMine 2023.2 EAP3: Up to date RBS Help and Search All over the place Performance


We’re actively growing RubyMine 2023.2 and have launched our third Early Entry Program (EAP) construct. Listed below are the notable enhancements included in RubyMine 2023.2 EAP 3. We encourage you to strive them and supply your suggestions within the feedback part or by way of our problem tracker.

You possibly can obtain the most recent construct from our web site or by way of the free Toolbox App

Naming conference inspections in RBS

On this EAP model we’ve added naming conference inspections for interfaces, sort aliases, and sort variables.

Сode perception for RBS use syntax

RubyMine code perception performance is now out there to be used syntax in RBS. Listed below are a few of enhancements that we’ve applied:

  • All namespaces used inside a use clause now have reference assist.
  • The goal of an imported use clause now has reference assist.
  • When resolving a easy title, we prioritize resolve targets within the following order: sort variables first, adopted by use clauses in reverse order. Use clauses that happen final have a better precedence, permitting you to shadow a use clause that comes earlier.
  • Autocomplete for wildcard use clauses now features a * character.
  • An implicit reference is now offered for the * characters in wildcard use clauses. 
  • Use clause aliases are acknowledged as separate entities, and code perception actions equivalent to Go to declaration, Discover usages, and Rename at the moment are out there for them. 
  • When acquiring a sort in Ruby from RBS (Ruby Signature), it is going to show the anticipated sort that the use clause and/or alias targets.
  • All RBS inspections are up to date to work with use clause aliases. 
  • Completion inside use clauses capabilities appropriately, now that updates have been made to deal with insertions correctly.
  • When invoking completion inside a file, use clause aliases are included within the completion listing. 
  • Use clause alias names now have spell checking assist.

Annotations and inspections to be used directives in RBS

We proceed to assist this new function in RBS, whereas on this EAP construct we’ve added some annotations and inspections for misused directives. Right here is the listing of enhancements:

  • RubyMine now annotates use clause aliases when their circumstances don’t match 
  • We’ve added an inspection for an unconventional use alias title, which behaves the identical as different naming conference inspections.
  • We’ve added an inspection for unused use clauses with a fast repair to “optimize use clauses”, which removes the unused ones. 
  • We’ve added an inspection for Pointless qualifiers. Qualifiers are generally pointless when there’s a namespace or use clause current that imports the precise title.
  • We’ve added a fast repair for easy unresolved references (these with no qualifiers) that suggest including a use clause to import the title if there may be one out there.
  • There’s now assist for the Optimize imports motion, which solely removes unused imports and behaves the identical because the inspection. 

Textual content search in Search All over the place

The Search All over the place (Double ⇧ / Double Shift) performance, primarily utilized for looking by way of recordsdata, courses, strategies, actions, and settings, now contains textual content search capabilities much like Discover in Information. With this enhancement, textual content search outcomes are displayed when there are few or no different search outcomes out there for a given question. The function is enabled by default and will be managed in Settings/Preferences | Superior Settings | Search All over the place.

The total listing of enhancements on this model is obtainable within the launch notes. To be taught concerning the newest options as they arrive out, comply with RubyMine on Twitter. We put up product information and suggestions a number of occasions per week.

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

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

Completely satisfied growing!

The RubyMine staff



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments