"Hard coded string literal" inspection has options to ignore literals which are equal to existing class or property name. So, IDEA resolves string literals into class and property names.
Since this is performed anyway, would be nice to have "go to definition" action available if this resolve is successful. E.g. user provides something like:
"com.sun.jndi.fscontext.RefFSContextFactory" is resolved to key and green. User puts cursor to this literal and go to class definition by Ctrl+B.
Description
"Hard coded string literal" inspection has options to ignore literals which are equal to existing class or property name. So, IDEA resolves string literals into class and property names.
Since this is performed anyway, would be nice to have "go to definition" action available if this resolve is successful. E.g. user provides something like: