

"LineClipper" is a Chrome Extension which aims to optimize a software developer's flow between the browser and the IDE when executing file retrieval. This particular extension works on the GitHub source control platform. A lot of IDEs provide quick find capabilities where you can specify a file path and the IDE would open that file for you. Furthermore, you can also specify a line number of said file at which you'd like to go to. Example: api/controllers/base_controller.go:73 The following would take us to the base_controller.go file on line 73 in the api/controllers directory. When working with GitHub and especially when making code reviews it's common for a developer to jump from the browser to the IDE and vice versa. Often the developer would look at a file and would want to quickly find and open that file at a particular point (line). To achieve this today the individual would have to go through the hassle of selecting and copying the file path (manually) he's looking at, remember the line number he's interested in, go to the IDE and in the quick find option paste the file path and write the line number himself. This is very clunky and can break a developer's flow while working. The "LineClipper for GitHub" extension focuses on doing one thing and do it well - copy file paths with their respective line numbers to your clipboard when clicking on specific line numbers 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 following functionality: - copy file paths + line numbers when reviewing pull requests - copy file paths + line numbers during conversation in the communications tab of a pull request where there's a file snippet - copy file paths + line numbers when going through a repository's files - copy file paths + line numbers when 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 try to work on websites which contain github as part of their domain. You 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 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. Q: Does it work for all GitHub installations or just the public *https://github.com* installation? A: The extension works on all kinds of GitHub installations public/private as long as the domain contains the word "github" in it. PLEASE NOTE: "LineClipper" (also known as "Line Clipper for GitHub" in the Chrome Web Store) is not endorsed by GitHub. GitHub and Chrome are trademarks of their respective owners.
查看更多
评论
全部评论
展开更多评论