Octohint is a browser extension which adds IntelliSense hint to GitHub and GitLab.
Install it from Chrome Web Store
Currently you could build it from source, see web extension section of contributing docs. Or try this one. You can use the "On your own" signing option on Mozilla addon site to create a signed add-on for your self, and install it. Alternatively, you can follow this guide to install it temporarly from local directory, note that add-on installed this way is temporary add-on, and will be removed every time you restart the Firefox.
Make sure your version of Firefox supports web extensions.
Use this extension: Install Chrome Extensions to install Octohint from Chrome Web Store
With Octohint installed, when you view code at GitHub (For example this demo), you'll get features as follows:
Octohint supports all languages. There are two strategies:
It is because browser only runs JavaScript. But with help of WebAssembly, maybe we could bring other languages' IntelliSense analysis to browser! It's still in research
Support GitHub and GitLab. Since GitLab CE has many versions, I'm not sure it works correctly on every version. If you find some bugs you could submit an issue.
Bitbucket's code viewer UI has changed greatly, so there is still lots of work to do.
If GitHub/GitLab/Bitbucket you are using is hosted on different site, go to chrome://extensions, click options of Octohint, then add match patterns of your site, like https://www.example.com/*
.
Octohint is a pure client thing. All code analysis are performed at your browser, which means your code and actions log like click, mousemove will never be sent to any server.
Feel free to use it at your private GitHub/GitLab/Bitbucket.
MIT