GithubHelp home page GithubHelp logo

donson / vscode-sharecode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tigerxy/vscode-sharecode

0.0 2.0 0.0 514 KB

Share Code is an Extension for Visual Studio Code. You can find it on marketplace.

Home Page: https://marketplace.visualstudio.com/items?itemName=RolandGreim.sharecode

License: GNU General Public License v3.0

TypeScript 100.00%

vscode-sharecode's Introduction

Features

Supports on Pastebin and Github Gist

  • share code
  • open shared files
  • login with oauth

Supports on GitLab

  • share code
  • open shared files

Please create a Personal Access Tokens by hand

Usability

  • select text for sharing
  • context menus

Usage

Press Ctrl+Shift+P and type in Share Code. Then you can select between Pastebin and GitHub Gist. (anonymous) means you don't have to login to share a file, but you can't edit or remove it later, when you choose this option.

HowTo upload a file to Pastebin:

alt tag

HowTo upload a file to Github Gist:

alt tag

Settings

These settings are set automatically when you start the extension. You can also manually configure your user name and token. Go to File > Preferences > User Settings and add these lines:

{
    "shareCode.pastebin.username": "...",
    "shareCode.pastebin.authtoken": "...",
    "shareCode.github.username": "...",
    "shareCode.github.authtoken": "...",
    "shareCode.gitlab.baseurl": "...",
    "shareCode.gitlab.authtoken": "..."
}

Reset Github token

Sometimes it is necessary to delete a token. Go to this page and delete the token named VSCode Share Code.

Like?

You can support my work :)

paypal

License

GPLv3

vscode-sharecode's People

Contributors

mikeralphson avatar tigerxy avatar

Watchers

 avatar  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.