vs-picgo
vs-picgo copied to clipboard
Image path doesn't appear when focusing on OUTPUT tab
Describe the bug
When vs-picgo is uploading files while focus is on OUTPUT tab in bottom of VSCode, at the time the upload finishs, vs-picgo just notifies the upload is successful and doesn't paste the url
into editing documents.
This behavour only exists in OUTPUT
panel. It seems it can handle PROBLEMS/DEBUG CONSOLE/TERMINAl
tab well enough.
To Reproduce
- Open a random text file
- Call picgo to uploading pictures. In my case, it takes pictures from my clipboard
- When the
Image is uploading
bubble appears, quickly switch focus toOUTPUT
panel - The
uploading succuess
bubble appears, and then nothing happens. The url of uploaded image is lost and I've to openvs-picgo-data.json
for looking up theimgUrl
.
Expected behavior
The user defined image url should appear in the editors. If it is impossible to do that ( I have no knowledge about the implementation of vscode), it should at least put the url into clipboard and allows users past it mannually.
Screenshots
System information
- OS: [e.g. Windows]
- Version [e.g. Windows 10]
VSCode information
-
Help
->About
->Copy
Version: 1.74.0 (user setup)
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:38:16.075Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No
-
vs-picgo
version v2.1.6 -
Settings begin with
picgo
:// ... "picgo.customUploadName": "${mdFileName}-${dateTime}${extName}", "picgo.customOutputFormat": "", // ...
Additional context
Is this bug picBed specific, i.e. only the picBed you use is affected? Yes/No.
NO
Is there any error in the console (Help
-> Toggle Developer tools
)?: Yes/No.
Nothing special.
If yes, please paste the error here.