![](/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.