-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension enable make paste in other extension webview not work. #28
Comments
Sounds like #15 |
I tried to set keyboard shortcut like this without any other key "v" setting:
But seems not work in my situation. |
Looks like you have a typo in the "when" line. That would be cool if it works, though. Let us know! |
Sorry for the mistake when paste my setting, I checked and there's no typo in my actual keyboard setting. |
Yeah, it's almost certainly the same as #15. I know it's not ideal, but CTRL+SHIFT+V should bypass this extension and do a raw paste. Does that work? |
Sorry for the late response, my vs code keyboard shortcut setting is like blew: // 将键绑定放入此文件中以覆盖默认值
[
{
"key": "ctrl+cmd+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
//重做
"key": "cmd+y",
"command": "redo",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+l",
"command": "expandLineSelection"
},
{
"key": "shift+cmd+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "shift+cmd+b",
"command": "HookyQR.beautify"
},
{
"key": "ctrl+cmd+w",
"command": ""
},
{
"key": "shift+cmd+numpad8",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "shift+cmd+numpad2",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "cmd+shift+v",
"command": "editor.action.clipboardPasteAction",
}
] And I am unable to paste content on third-party WebViews such as User Setting, regardless of whether I comment out the cmd+shift+v part of the code or not. Can you figure out which part of my setting is wrong? I tried remove all the extensions may related with keybinds, still no luck. |
I'm not sure. In my experience, this only happens when this extension's Pressing CTRL+SHIFT+V bypasses the extension and gets around the problem. I didn't modify any of my keyboard shortcuts. I think this works on Mac as well. So, you should be able to either use the |
After VSCode updated, the paste behavior in code feels bad, I test many extensions to fix it and finally this extension makes it much better.
But one problem I met today is that, when I tried to paste some text in a vscode webview of a third party custom extension, the paste aciton not work.
And I can't find any extension setting to fix my problem except disable it temporary.
The third party extension I use is called 'Alkaid' if you ask, thanks.
The text was updated successfully, but these errors were encountered: