Coder Social home page Coder Social logo

vs-picgo's Introduction

vs-picgo (VSCode Plugin of PicGo)

Guide book can also be found on PicGo/vs-picgo.

version installs AppVeyor GitHub stars

The VSCode extension of PicGo.

Overview

vs-picgo is a VSCode extension for uploading images to a remote image hosting service and insert the url into current active MarkDown file. It's much more efficient than other tools. And it can give us better experience of uploading images. vs-picgo supports 8 kinds of image hosting services, weibo, qiniu, tcyun, upyun, github, aliyun, imgur, SM.MS, supported by PicGo-Core.

Uploading an image from clipboard clipboard.gif
Uploading images from explorer explorer.gif
Uploading images from input box input box.gif
Selection as image name selection.gif Notice: These characters: \$, :, /, ? and newline will be ignored in the image name. (Because they are invalid for file names.)

Settings

  • out of box

    • We could use vs-picgo without any setting.
    • The default image hosting is SM.MS.
  • custom

    BIG NEWS: from 2.0.0, We can customize the settings in VSCode settings vscode-setting.png
    • Use an external configuration file

      Enter the path of the configuration file external-config.png
    • Use VSCode settings

      First, choose the current PicBed current-picbed.png
      Then, input all the info the current PicBed needs picbed-info.png
      Customize the name of the image to be uploaded Notice: If you selected some text before uploading, the selection will become the fileName of the image to be uploaded. image-name.png
      Customize the output format of the uploaded image output-format.png

      Suggested settings for PicGo-electron users (See PicGo configuration path for more information):

      Notice: YOUR_HOME_DIR should be replaced by the path of current user path.

      // Windows
      {
          "picgo.configPath":"YOUR_HOME_DIR\\AppData\\Roaming\\PicGo\\data.json",
          "picgo.dataPath": "YOUR_HOME_DIR\\AppData\\Roaming\\PicGo\\data.json"
      }
      
      // macOS
      {
          "picgo.configPath": "YOUR_HOME_DIR/Library/Application Support/picgo/data.json",
          "picgo.dataPath": "YOUR_HOME_DIR/Library/Application Support/picgo/data.json"
      }
      
      // Linux
      {
          "picgo.configPath": "YOUR_HOME_DIR/.config/picgo/data.json",
          "picgo.dataPath": "YOUR_HOME_DIR/.config/picgo/data.json"
      }
      picgo.configPath and picgo.dataInfoPath can be set in vscode settings for-picgo-user.png

      In this way:

      1. vs-picgo will use the same configuration as PicGo-electron.
      2. PicGo-electron will display all the uploaded images by vs-picgo in its gallery.

Keyboard shortcuts

You can change all the shortcuts below as you wish.

OS Uploading an image from clipboard Uploading images from explorer Uploading an image from input box
Windows/Unix Ctrl + Alt + U Ctrl + Alt + E Ctrl + Alt + O
OsX Cmd + Opt + U Cmd + Opt + E Cmd + Opt + O

Migration

  • From ^1.0.0
    • External configuration file property has changed, from picgo.path to picgo.configPath.

Usage

  • Find vs-picgo in the extension store, and install vs-picgo. You can use vs-picgo on installation finished.

Contributors

Thanks

Enjoy!

vs-picgo's People

Contributors

molunerfinn avatar spades-s avatar upupming avatar

Watchers

 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.