Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
Line Clipper for GitHub 預覽

Line Clipper for GitHub 作者: NickyMateev

Efficient navigation between browser and IDE while working on GitHub.

0 (0 reviews)0 (0 reviews)
2 Users2 Users
必須使用 Firefox 才能使用此擴充套件
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

畫面擷圖
關於此擴充套件
LineClipper is a Firefox add-on which optimizes a software developer's flow between the browser and the IDE while working on GitHub.

A lot of IDEs provide fuzzy find capabilities so you can specify a file path and the IDE would open that file for you. Additionally, you can specify a line number at which you'd like to go to. Example:

api/controllers/base_controller.go:73

This would take us to the base_controller.go file on line 73 in the api/controllers directory.

When working with GitHub (especially during code reviews) it's common for a developer to jump from the browser to the IDE and vice versa. As it is today this flow is very clunky and can break a developer's flow while working.

The LineClipper extension focuses on doing one thing and do it well - copy to your clipboard the file path suffixed with the respective line number when clicking on a specific line number while viewing any type of file with line numbering on GitHub. This way a developer can almost instantly go back and forth between browser and IDE when reviewing files and particular points in code all while keeping a developer's focus where it should be - in the code, not in meaningless operational details.

The plugin includes the copying to clipboard functionality when:
- reviewing pull requests in the Files Changed tab
- reviewing pull requests in the Conversation tab where there are file snippets
- going through a repository's files
- going through files from old commits

Your feedback is valuable so it would be appreciated if you leave a rating or feedback of your experience!
Also if you have ideas for improvement you can go ahead and contribute directly to the project: https://github.com/NickyMateev/Line-Clipper

FAQ:
Q: Why does the extension state upon installation that it can read and change all my data on the websites I visit?

A: LineClipper will only attempt to work on websites which contain github as part of their domain. You can check out this in source here (https://github.com/NickyMateev/Line-Clipper/blob/3f13ab4063e2f72e9860e974d3ec58ee1dda0306/manifest.json#L8).
The reason for deciding to work on all domains containing github is that often developers work with multiple public/private installations of GitHub. Out of convenience for the developer it was decided to simply match these domains automatically instead of having to make the developer whitelist every single GitHub domain he works in.

Q: Does the extension work for all GitHub installations or just the public https://github.com installation?

A: The extension, as stated above, works on all kinds of GitHub installations public/private as long as the domain contains
the word github in it.

Q: Does this work only when traversing a GitHub project's file tree and looking at different files?

A: No, it works for every page on GitHub which has a file with lines in it. You can copy lines from
the GitHub Pull request diff perspective when you're looking at the file diffs or at the main page of a
pull request where sometimes we see some code snippets which have been commented. You can also copy line numbers
when you're going through old commits and looking around at the files.

PLEASE NOTE:
LineClipper (also known as Line Clipper for GitHub in Mozilla's official site for discovering and installing add-ons for the Firefox browser - AMO) is not endorsed by GitHub.
GitHub and Firefox are trademarks of their respective owners.
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料了解更多

必要權限:

  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.0.2.2
大小
21.46 KB
最近更新
5 年前 (2020年5月3日)
相關分類
  • 網頁開發
  • 搜尋工具
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
1.0.2.2 版的發行公告
- Fix issue where the extension would not work well with custom GitHub theme extensions and would override colors incorrectly
- Fix issue where file line numbers would not have copy-to-clipboard attached if the files loaded after the initial DOM rendering
- Fix issue where the file path on PR pages would not be derived properly
- Add browser action for redirecting extension user to the project repo when clicking on the extension icon
NickyMateev 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。