GitHub Code Outline is a simple extension that you can use to work with GitHub files. There are extensions for GitHub to make code browsing easy but this one is quite different. The interface is simple and after it lists all the functions and classes in the code file, you can jump on them with just a single click. The popup window that it uses to show code outline is draggable and you can place that anywhere on the screen.
Using this Code Outline Generator for GitHub to Help Code Review:
After installing this, you can simply open any code file in a GitHub repository and activate the extension. The popup will show immediately and you can see it list all the functions and class in the outline. It also includes the function return type so a reviewer can see what type of functions are in the code.
You can see the outline window in the above screenshot and analyze how this extension works. However, right now the code outline doesn’t automatically change as you browse other code files in the repository. But I hope with more programming languages, it will also be fixed in the coming updates.
If you want to generate code outline for any code file on GitHub then the extension I have mentioned here is great. It can quickly get you an overview of the functions and classes used. You can quickly jump to any function or class in the code which is good for code reviewer as he won’t have to scroll a lot if the code file is very long.