Now with ✨Gitlab✨ support!
Quick install? Get it 👉 Chrome. Firefox support coming soon (see issue).
A dynamic autosuggest/autocomplete browser extension for Github and Gitlab comments, built on-the-fly from the diff. Use it for speedier commit comments and pull request reviews.
To install the extension, all you need is an up-to-date Chrome browser (I'll get to Firefox and Safari soon, apologies).
For development, you need to have yarn
installed. Why yarn
and not npm
? Literally no specific reason, I just wanted to try yarn
out.
Install it here from the Chrome Store. As you can tell by lack of logos or pictures, the extension is still in beta, so there may be bugs. Feel free to submit issues or pull requests to this repository! If you'd like to disable the extension, navigate to chrome://extensions
and disable the extension by clicking the checkbox.
For Chrome, you need to manually load the extension, see the instructions here. Point "the directory in which your extension files live" to the /static
directory. The /static
directory actually includes the bundled code, which usually is not under version control. I'm including it so it's easier for anyone to "install" the extension without actually installing it via the chrome store, in case they have any concerns about the security of executing auto-updating third-party code on private source code.
These instructions will get you a copy of the project up and running on your local machine for development
- If you want to make changes, might as well just fork the repo, and clone your copy (see here if you're confused).
cd github-autosuggest
(or whatever you named the directory)yarn install
. (See here if you don't have yarn). After this, congrats you have installed everything! Two more steps are needed to begin developing.yarn dev
(basically runswebpack --watch
). Leave this running as it will automatically write your changes to the/static
directory.- Run
yarn test --watch
to spin up Jest on auto-run mode. Note I am still far from 100% test coverage, and currently there is no testing on the mainindex.js
file. To test the chrome extension on github.... - ...you need to follow the Installing the extension from the source instructions above. After completing the step you have successfully installed the local copy of the extension in Chrome.
- Make your changes! While
yarn dev
automatically bundles your changes, it does not update the changes to chrome. You unfortunately need to do this manually. Either a) Navigate tochrome://extensions
page and click update on the loaded extension or b) use this lovely little extension
- component/text-area-caret-position
- yarn - JS module manager
- webpack - JS bundler
- babel-minify - ES6 minifier just cause I want this extension to be teeny
- Jest - for JS testing
TBD, free for all for now.
Using SemVer for versioning, but not very well.
This project is licensed under the MIT License