Make certain string as hyperlink in IDE



I am developing a plugin, where I have a test with metadata as shown below:


 I would like to make the text "Task_DA_113" a hyperlink to some URL. On control-click it should open up a browser with the corresponding URL.

The URL is available in one of the src/test/resources/ files.

Please let me know how to go about it?


1 comment
Comment actions Permalink

Register PsiReference contributor for these places ( and return com.intellij.openapi.paths.WebReference instance pointing to resolved URL according to your logic.


Please sign in to leave a comment.