Extract variavle broken?

Trying to extract lastName + firstName.charAt(0) from

e.setNetworkName("cn=" + lastName + firstName.charAt(0) +

tells me "selected block should represent expression"

1 comment
Comment actions Permalink

This is a long-known issue. Because of associativity, the text selected doesn't represent an subexpression, and so IDEA can't extract it. The SmartIntroduce plugin fixes this.

--Dave Griffith


Please sign in to leave a comment.