Quite a few build numbers ago, it was possible to select
e.g. "Introduce variable" with no text selected and the
cursor somewhere in the middle of a more or less complex
In that case, IDEA offered me a selection of expressions
for which introducing a variable made sense and (I believe
contained the cursor position).
At some point, this behavior vanished; in such a situation
IDEA now marks and highlights the current line and either
offers to introduce a variable for that or - if that is
syntactically impossible - displays a message saying
"Cannot perform the refactoring..."
Was this change on purpose, or did the feature just fall
off? Or (slight hope) is the behavior configurable, and I
just didn't see the setting?