项目作者: amitness

项目描述 :
A browser extension that enables double click to copy code snippet from stack overflow.
高级语言: JavaScript
项目地址: git://github.com/amitness/cutcode.git
创建时间: 2017-03-06T17:00:30Z
项目社区:https://github.com/amitness/cutcode

开源协议:GNU General Public License v3.0

下载


cutcode

Chrome and Firefox extension to copy code snippet from Stack Overflow by double clicking.

Screencast

Getting Started

Installing

Available on the Firefox Add-ons site.

  • Clone the repo.

    1. git clone https://github.com/amitness/cutcode

    Installing on Chrome

  • Load the extension into Google Chrome as an Unpacked Extension:

  • Navigate to (1a) chrome://extensions or (1b) select Menu > More Tools > Extensions.
  • Enable the (2) developer mode at top right.
  • Click (3) “Load Unpacked Extension”.
  • Navigate to the cloned folder.
    For additional help, refer the official guide for Chrome.
  1. ![Installation screenshot](https://cloud.githubusercontent.com/assets/6765956/23824934/6104b958-064e-11e7-9834-9ec025b068c2.png)

Installing on Firefox

  • Load the extension into Firefox as a Temporary Add-on:

    • Open Firefox
    • Enter (1) “about:debugging” in the URL bar
    • Click (2) “Load Temporary Add-on”
    • Open the cloned directory and select any file inside the folder.
      For additional help, refer the official guide for Firefox.

      Installation screenshot

Local Development

  • Follow installation instructions and install the extension.
  • Work on the code.
  • Use Reload (Ctrl+R) to reload the extension from chrome://extensions page.
  • Test the new changes.

Contributing

We :heart: contributions. Feel free to send us a PR.

  1. Create an issue if there is one.
  2. Fork the repo.
  3. Create your feature branch (git checkout -b your-feature).
  4. Add and commit your changes (git commit -am 'message').
  5. Push the branch (git push origin your-feature).
  6. Create a new Pull Request.

Feedback

Create an issue for all discussions, bugs, feature requests and pull requests.

License

This project is licensed under the GNU License - see the LICENSE file for details.

Icon provided by Open Iconic.

References