Adds code intelligence to GitHub, GitLab, and other hosts: hovers, definitions, references. For 20+ languages.
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
Latest reviews
- (2023-07-25) Yury Ershov: Doesn't work for me at all. Throws this error in console and does nothing: "Sourcegraph: uncaught error handling code view Error: Failed to create file toolbar mount node: container not found."
- (2023-02-19) Виталий Дмитриев: Extension is does not working now on Github repositories. "No hover information available." "Error: repo not found"
- (2021-09-03) root zero: 请问中文注释乱码问题有朋友遇到过吗
- (2021-08-10) Wu Ting: nice
- (2020-11-02) wala Hertz: 很好用,就是遇到了markdown文件里的图片加载不出来的问题
- (2020-08-24) Dong Cai: It's pretty neat and helpful. Avoid the fuzz for downloading source code.
- (2020-04-03) 常振乾: 想知道怎么设置里边的字体大小
- (2020-03-02) 范志竞: 方便开发者
- (2020-02-27) Zihao Jing: love it
- (2020-02-25) 胡学字: 国内不太实用,鼠标悬浮要半天才展示跳转,点什么都得等,总之一个字,慢,顿
- (2020-02-25) 金国敬: 太有用了,前两天还在愁怎么看github代码呢,大赞!
- (2019-12-16) Maolai He: 很好用,查看GitHub代码很方便
- (2019-12-04) Wei He: Thank you! That a useful extension!
- (2019-11-16) stonman Shi: 与Octotree不兼容,弹出框会被Octotree遮挡
- (2019-10-14) 李丽平: i like it!
- (2019-09-29) xiaofeng zhang: 正式我孜孜以求的插件,太赞了,解决了实际开发中的大问题,谢谢!
- (2019-09-27) 宋浩祥: 知乎推荐来的
- (2019-09-20) Awesome ! This is exactly what i want ! Thanks !
- (2019-09-05) Bro nice: 6666666 国内访问github的神器 啊
- (2019-09-04) moye yao: nice
- (2019-08-23) qiyang wu: 确实方便,实用
- (2019-08-05) 依然藏锋: 这个插件是真的好用,github 看代码好手。
- (2019-06-28) Kyron Bao: 支持浏览器代码跳转,厉害了
- (2019-06-17) K Symbol: Github begins to support officially the feature: https://help.github.com/en/articles/navigating-code-on-github
- (2019-05-23) Bhoomtawath Plinsut: This tool is amazing. I can browse code on Github easily now, instead of having to clone the project just to view it via my favorite IDE. It allow me to view references and where variables/functions are defined.
- (2019-05-08) Jan Fabian: Useful stuff especially when exploring public repos, no need to inspect them locally. In combo with Octotree, I like it.
- (2019-04-08) 许可: 最近一段时间使用报404,今天卸载后重装就可以了
- (2019-03-03) 楊鈞皓: Good for code navigation on github.
- (2019-02-28) Jenny Wang: every glad I found this. I have been using opengrok for several years and sourceinsigh long time ago. But this tool is my future:)
- (2019-01-21) Annie Zhang: Thank you for creating this tool. Love developer tools
- (2019-01-20) 可以调整为黑暗背景吗?
- (2019-01-19) M H: Awesome ~
- (2018-12-08) Fernando De La Madrid: I really enjoyed the user experience of their website and the way that it summarizes data and makes all of the information of your repo very very accessible. I have used it mostly with Javascript repos without any issues. The only thing while inspecting files in GitHub, it's that it can get a bit laggy sometimes before showing you the information when you hover on something. Overall great application, now its a MUST in my browser!
- (2018-11-29) Afterbunny: amazing extension
- (2018-10-22) Matt Sartwell: greatly enhances github navigation experience
- (2018-10-07) J. Elliot Taylor: 100% Awesome. Greatly enhances the utility of UI for the most popular git hosting providers. Thank you Sourcegraph!
- (2018-09-17) Peter Wang: 特地来点个赞~好用!!!强大!!!!
- (2018-09-13) Why the Status shows ' Limited Functionality '? And ' Error fetching hover from language server ' when I see a code. How can I solve it?
- (2018-08-27) Илья Циклон: Awesome! Helps studying GitHub repo a lot. Shows repo file structure and provides go to definition for methods.