HTML link in com.intellij.notification.NotificationGroup#createNotification
I must be doing a simple mistake. How can I insert a link in a notification that can be opened by clicking? When I use e.g.
<a href="https://github.com/halirutan/Mathematica-IntelliJ-Plugin/issues/78">Created issue #78</a>
it is correctly rendered as link, but clicking on doesn't do anything. Other links like the ones I have in my documentation popups do work.
Cheers
Patrick
Please sign in to leave a comment.
It doesn't automatically open the browser - you can use the links to do any action, eg open dialogs or whatever. This is how I do it (although possibly I'm completely wrong):
The e.description is the href of the link.
There is probably an existing NotificationListener that does what you would expect, but not at my machine atm so can't look for it.
Hey Jamie,
thank you for the pointer! There is indeed and existing listener. This here
works like a charm.
Thanks again
Patrick