PicGo-for-VSCode
Overview
An extension for the VSCode IDE enables users to upload images to remote hosts, such as Aliyun OSS, Tencent Cloud COS, Qiuniu Image Host, Github, s.ee (sm.ms), imgurl, etc., while editing a Markdown file.
VSCode IDE的扩展使用户能够将图像上传到远程主机,如阿里云OSS,腾讯云COS,秋牛镜像主机,Github等。ms), imgurl等,同时编辑Markdown文件。
Based on PicGo-Core, PicGo-for-VSCode supports 8 kinds of image hosting services: weibo, qiniu, tcyun, upyun, github, aliyun, imgur and SM.MS, which are supported by PicGo-Core. And the plugin feature of PicGo-Core is working in progress.
How to setting
English Version
- Open VSCode extensions.
- Search for
PicGo-for-VSCode in the search box and install it.
- Set the image hosting service you want to use in the extension settings.
- Set the other settings you want to use.
- Enjoy it.
Chinese Version
- 打开VSCode扩展。
- 在搜索框中搜索“PicGo-for-VSCode”并安装它。
- 在扩展设置中设置要使用的图像托管服务。
- 设置要使用的其他设置。
- Enjoy it.
How to use
English Version
- Paste an image from clipboard:
- Copy an image from file explorer or image viewer;
- Press Ctrl+Alt+U in the Markdown file;
- Wait a moment, the image link will be automatically filled at the cursor position.
- Choose an image from explorer:
- In the Markdown file, press Ctrl+Alt+O;
- In the file explorer, select the image you want to upload and insert;
- Wait a moment, the image link will be automatically filled at the cursor position.
- Input image path:
- In the Markdown file, press Ctrl+Alt+O;
- In the popup box, input the image path;
- Wait a moment, the image link will be automatically filled at the cursor position.
Chinese Version
- 复制粘贴图片:
- 从资源管理器或者图片查看软件中复制图片;
- 在Markdown文件中同时按 Ctrl+Alt+U;
- 稍等片刻,图片链接自动填充在光标位置。
- 通过文件管理器中选图片:
- 在Markdown文件中同时按 Ctrl+Alt+O;
- 在文件管理器中选择要上传并插入的图片;
- 稍等片刻,图片链接自动填充在光标位置。
- 输入图片路径:
- 在Markdown文件中同时按 Ctrl+Alt+O;
- 在弹出框中输入图片路径;
- 稍等片刻,图片链接自动填充在光标位置。
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 |
| MacOS |
Cmd + Opt + U |
Cmd + Opt + E |
Cmd + Opt + O |
Settings
Thanks
Enjoy!