如何从浏览器使用 GitHub 代码导航?
How to use GitHub code navigation from browser?
我想在浏览器上利用 GitHub 的代码导航功能,但我在 Python 代码的顶部收到此错误消息:
Code navigation is available for this repository but data for this commit does not exist.
当它成功运行时它说:
You're using code navigation to jump to definitions or references.
有人能帮我理解这条消息的意思吗?
考虑到 Code Navigation 今年早些时候在 select 个存储库的有限 public 测试版中发布,并且自去年 11 月以来在 Python 个存储库中可用,您的存储库可能(假设它有提交)还没有被扫描,特别是如果它是最近的。
此外,help page 提到:
Code navigation works for active branches.
If the feature is enabled for you but you don't see links to the definitions of functions and methods, push to the branch and try again.
2022 年第 1 季度:Java、Javascript 和 Typescript 的精确代码导航现在也处于活动状态。
私有存储库当前未被编入代码导航索引。目前,代码导航索引正在 Public 个存储库上执行,并将随着时间的推移推广到私有存储库。
惊人的功能 :- 现在您可以打开 VS code as a browser window
。目前它是 Beta 版本。请尝试以下步骤。
- 打开你想要的 git 仓库。
- 在 github 之后的 URL 中键入
1s
,如下所示。
- 在点击回车后,您可以看到如下视图。它是 VS 代码
============更新============
任何 repo 都可以使用浏览器打开 window 并且使用 vs code 打开 repo 完全相同。
使用此功能go to the repo and after press '.' (fullstop)
。
现在可以看到会像vs code界面一样打开
我想在浏览器上利用 GitHub 的代码导航功能,但我在 Python 代码的顶部收到此错误消息:
Code navigation is available for this repository but data for this commit does not exist.
当它成功运行时它说:
You're using code navigation to jump to definitions or references.
有人能帮我理解这条消息的意思吗?
考虑到 Code Navigation 今年早些时候在 select 个存储库的有限 public 测试版中发布,并且自去年 11 月以来在 Python 个存储库中可用,您的存储库可能(假设它有提交)还没有被扫描,特别是如果它是最近的。
此外,help page 提到:
Code navigation works for active branches.
If the feature is enabled for you but you don't see links to the definitions of functions and methods, push to the branch and try again.
2022 年第 1 季度:Java、Javascript 和 Typescript 的精确代码导航现在也处于活动状态。
私有存储库当前未被编入代码导航索引。目前,代码导航索引正在 Public 个存储库上执行,并将随着时间的推移推广到私有存储库。
惊人的功能 :- 现在您可以打开 VS code as a browser window
。目前它是 Beta 版本。请尝试以下步骤。
- 打开你想要的 git 仓库。
- 在 github 之后的 URL 中键入
1s
,如下所示。
- 在点击回车后,您可以看到如下视图。它是 VS 代码
============更新============
任何 repo 都可以使用浏览器打开 window 并且使用 vs code 打开 repo 完全相同。
使用此功能go to the repo and after press '.' (fullstop)
。
现在可以看到会像vs code界面一样打开