
Sourcegraph
大小:1.91MiB版本:v 22.7.29.851更新时间:2021-12-21
Adds code intelligence to GitHub, GitLab, and other hosts: hovers, definitions, references. For 20+ languages.
Sourcegraph 的使用方法详解,最全面的教程
Sourcegraph 描述:
用户数:100000
分类:开发者工具插件
扩展大小:1.91 MiB
最后更新时间:2021-12-21
版本:v 22.7.29.851
Sourcegraph 插件简介:
这是来自Chrome商店的 Sourcegraph 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
Sourcegraph插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
Sourcegraph插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/The open-source Sourcegraph extension adds code navigation and code intelligence to GitHub, GitHub Enterprise, GitLab, Bitbucket Server and Phabricator.
• Code intelligence on your code host:
* Hover tooltips with documentation and type information
* Go to definition
* Find references
• Integrations with third-party services like Codecov coverage overlays, open-in-editor buttons and many more with Sourcegraph extensions
• Browser shortcut (src + Space) that performs the search on your Sourcegraph instance
It works for 20+ languages on public and private code on popular code hosts (see below).
MAKE IT WORK ON YOUR CODE HOST:
• GitHub - No action required. Your extension works here by default.
• GitHub Enterprise, GitLab, Bitbucket Server and Phabricator - grant additional permissions in the extension menu
Browser extension docs: https://docs.sourcegraph.com/integration/browser_extension
MAKE IT WORK FOR PRIVATE CODE:
To use the browser extension with your private repositories, you need to set up a private Sourcegraph instance and connect it to the extension.
Installation docs: https://docs.sourcegraph.com/admin/install
WHERE TO START?
After adding the extension you install it, try it out on any of these public repositories:
• Go: https://github.com/gorilla/mux/blob/9e1f59/mux.go or https://github.com/dgrijalva/jwt-go/pull/152/files#diff-f615844d3497ff38db57e459d6ef657bL48
• Java: https://github.com/google/guava/blob/581ba1/guava/src/com/google/common/collect/ImmutableList.java
• TypeScript: https://github.com/angular/angular/blob/a2878b/packages/benchpress/src/reporter/console_reporter.ts or https://github.com/sindresorhus/got/pull/917/files#diff-02301bc46e8b878f10e9a8339efb7de7R176
• C#: https://github.com/paiden/Nett/pull/76/files#diff-e969e1315b2cb01bab80b2860be0d87eR52
• Python: https://github.com/ageitgey/face_recognition/blob/b8fed6/examples/facerec_on_raspberry_pi.py
This extension is open source: https://github.com/sourcegraph/sourcegraph/tree/main/client/browser