How to jump to java source file from inside of xml file?
Hello. Is there any way to jump to java source file from inside of xml file by clicking on tag that is canonical class name? At this moment it does not work for me this way.
Thanks in advance.
Please sign in to leave a comment.
IDEA will allow such in places where it knows the value it is dealing with is a class name. For example in web.xml and spring config files. For places where it does not, such as your example, you can do the following:
If desired, you can record a macro (Edit > Macros) and map it to a short cut (File > Settings > [IDE Settings] > Keymap > [Macros]). If recording a macro, do the version which types Ctrl+W twice so it works regardless of where you are in the name (and it is more accurate since ti finds the fully qualified classname).