问题
I am not sure if this can be done but what I am trying to achieve here is that when I click on a method name in JetBrains Rider, I want it to open a browser, append the namespace, class name and method name to a URL like www.myrepo.com
for me. So if I click on method z
(on line #n
) in class y
on namepsace abc.lmn.x
, then I want it to open www.myrepo.com/abc.lmn.x/y#n.html
Why? When I want to point another developer to a piece of code, the way I do it right now is to open the internal tool we developed on a browser, lookup for the classname on it and share.
回答1:
I use action "Open on github" a lot, when project is on github (either github.com or private github server).
来源:https://stackoverflow.com/questions/59887583/customize-jetbrains-rider-to-open-a-link-when-you-click-on-class-function-name-i