![](/img/trans.png)
[英]Go to definition in VS code doesn't show the body of a function
[英]Running into a basic issue about navigating code in github rep as clicking on a function-reference doesn't hightlight it or show definition
I was earlier able to browse the github repo at https://github.com/r9y9/Tacotron-2/blob/master/wavenet_vocoder/models/wavenet.py easily in browser, so that when I put cursor on top of jResidualConv1dGLU at Line84,它会突出显示并让我点击 class ResidualConv1dGLU
的“定义”和“参考”。
但是我今天在同一个浏览器中使用了同一个 repo,它什么也没做。 它不会突出显示ResidualConv1dGLU
或显示其定义/引用的链接。 就好像它不知道它是一个class。
是否需要一些默认设置来启用它? 我错过了什么?
PS:(几天前它还在工作,所以我不确定这几天发生了什么变化)
昨天(2020 年 6 月 23 日)可能发生的变化是“ 对存储库和 GitHub UI 的设计更新”
尝试并确保清除浏览器的缓存并重新加载所有内容。
话虽如此,当点击“跳转到”时,我看到:
“此提交无法使用代码导航”,这是 fork 所期望的。
但是我在原始存储库Rayhane-mamah/Tacotron-2
上看到了同样的问题。
正如我在此处提到的,这些存储库需要由 GitHub 重新扫描。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.