Is it possible to hyperlink comments in IntelliJ Idea?
intellij-idea, java
Solution
You can use Javadocs' `@see` tag - examples here.
It should be sufficient to do something like that:
/**
* Bla bla bla
* @see b#n
*/
public class a
Problem
I am using IntelliJ Idea for Android devleopment. Is there any way in which I can hyperlink two comments in the IDE. For example File a.java ``` import a; /** * This class does something and something * and does implements interface b, * (i want a hyperlink here, if pressed opens file b.java in IDE and cursor is at comments * before method n) */ public class a { //do something } ``` File b.java ``` import k; public interface b { public j; public m; /** * This will be used when this and this will happen. */ public n; } ```