Open zerogtw opened 1 year ago
@zerogtw
This extension need powershell
command to run script on windows. So you must make sure powershell can be search in PATH. You can use the where
command to check powershell location:
C:\>where powershell
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
I'm also affected by this issue. Powershell is installed in my system. Note that I don't have admin rights. Please let me know I can test or try something.
System:
Markdown Paste version: 1.0.1 (September 10, 2023)
VS Code:
Version: 1.71.0 (system setup)
Date: 2022-09-01T07:36:10.600Z
Electron: 19.0.12
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
@avila
You can try the following command line.
cd %userprofile%\.vscode\extensions\telesoho.vscode-markdown-paste-image-1.0.1\node_modules\xclip\dist\res\scripts
powershell -File win32_get_clipboard_content_type.ps1
If there is no problem it will get clipboard type information.
Problem
I have been using the paste(ctrl+alt+v) function normally before, but recently found that the command is not used.
When I try to use the command, a prompt appears in the lower right corner of vscode.
My env
OS: win10 VSCode: 1.70.0 Markdown Paste: v1.0.0
My try
Question
Any good suggestions for this problem? I'm not sure if it's my personal problem or a plugin problem, or a vscode problem