The missing IntelliSense hint feature for GitHub
Clone or download
Latest commit f1006f7 Oct 3, 2018

README.md

Octohint

Build Status Chrome Web Store Chrome Web Store Chrome Web Store

Demo

Introduction

Octohint is a browser extension which adds IntelliSense hint feature to GitHub.

Introduction at Medium

Installation

Chrome

Install it from Chrome Web Store

Manual installation:

Go to release page, find chrome.zip file, download and unpack it.

Firefox

Follow this guide. The file is the same as manual installation of Chrome.

Make sure your version of Firefox supports web extensions.

Opera

Use this extension: Install Chrome Extensions to install Octohint from Chrome Web Store

Safari

Install it from Safari Extensions Gallery

Features

With Octohint installed, when you view code at GitHub (For example this demo), you'll get features as follows:

  • Mouse Hover: Show information of current token
  • Left Click: Show all references of current token
  • [⌘] + Click: Go to definition of current token (For Windows and Linux user, use [Ctrl] instead)

Supported languages

Octohint supports all languages. There are two strategies:

  • IntelliSense hint: TypeScript, JavaScript, CSS, LESS, SCSS
  • Simple token matching: All other languages

It is because browser only runs JavaScript. But with help of WebAssembly, maybe we could bring other languages(like Go/Rust)' IntelliSense analysis to browser! It's still in research

Supported platforms

Support GitHub, GitLab and Bitbucket. 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.

Get your private site works

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/*.

options

Privacy policy

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.

Related

  • Octoview: The missing preview feature for GitHub

License

MIT