How can I add a WebReference to a PsiElement which isn't a URL?

已回答

When pressing ctrl+b on a specific PsiElement, it should open up a link which is associated to the PsiElement e.g. cupertino_icons leads to https://pub.dev/packages/cupertino_icons. Does anyone know how to implement such a feature?

1

Provide PsiReferenceProvider returning com.intellij.openapi.paths.WebReference

0

请先登录再写评论。