单击文件中的类/函数名称时,自定义JetBrains Rider以打开链接 [英] Customize JetBrains Rider to open a link when you click on class/function name in a file

查看:173
本文介绍了单击文件中的类/函数名称时,自定义JetBrains Rider以打开链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定是否可以做到这一点,但是我想在这里实现的是,当我在JetBrains Rider中单击方法名称时,我希望它打开浏览器,追加名称空间,类名称和方法名称.链接到www.myrepo.com这样的网址.因此,如果我在名称psace abc.lmn.x的类y中单击方法z(在行#n上),那么我希望它打开www.myrepo.com/abc.lmn.x/y#n.html

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.

推荐答案

当项目位于github(github.com或私有github服务器)上时,我经常使用动作在github上打开".

I use action "Open on github" a lot, when project is on github (either github.com or private github server).

这篇关于单击文件中的类/函数名称时,自定义JetBrains Rider以打开链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆