Coder Social home page Coder Social logo

birowo / octohint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pd4d10/octohint

0.0 0.0 0.0 1.99 MB

The missing IntelliSense hint feature for GitHub

Home Page: https://chrome.google.com/webstore/detail/octohint/hbkpjkfdheainjkkebeoofkpgddnnbpk

License: MIT License

TypeScript 93.13% HTML 0.23% JavaScript 6.64%

octohint's Introduction

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:

https://chrome.google.com/webstore/detail/octohint/hbkpjkfdheainjkkebeoofkpgddnnbpk

Manual installation:

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

Firefox

Make sure your version of Firefox supports web extensions. The installation is the same as Manual installation of Chrome.

Opera

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

Safari

  1. Download this zip file, double click to unpack it in Finder

  2. Enable Develop tools of Safari

  3. At top menubar, click Develop -> Show Extension builder, then click '+' on the bottom left corner of popup window, choose 'Add Extension', then select unpacked folder on step 1.

  4. Click 'Install' button on the top right, done.

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

octohint's People

Contributors

pd4d10 avatar greenkeeper[bot] avatar gitter-badger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.