This appears to be a Jetbrains equivalent to the aforementioned VSCode plugin (I haven't tried either so can't speak to feature parity):
https://plugins.jetbrains.com/plugin/17756-copy-git-link
Edit: I just tried it, works great! Happy to have found this plugin via this post as I often open up Github just to link someone to a particular line of code I'm looking at in my IDE