Feature Request: better expression delimiting for extract variable #4608
Labels
improvement
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
subsystem::refactoring
Issues related to refactorings
Problem description
In Rust if I want to extract a sub-expression into a variable, then I need to wrap it in parens first.

In Java though, selecting a sub-expression works as expected.

Steps to reproduce
In the GIFs I'm pressing
Ctrl-alt-vto activate theExtract Variablerefactoring after selecting the subexpression.The text was updated successfully, but these errors were encountered: