-
Notifications
You must be signed in to change notification settings - Fork 31k
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
workbench.action.terminal.deleteWordRight not found #95802
Comments
This command was removed intentionally as all it did was send something to the terminal which can be done generically with the {
"key": "ctrl+delete",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u001bd" }
} This does the same thing as pressing While the old very specific commands were nice because they were named, they were also a black box and it wasn't clear how it worked. I'm hoping #94556 gets fixed and that way you can open the default keybindings file and be able to see exactly how they work: |
It's possible an extension is calling this command, in which case I'd be interested to hear which one |
Thanks @Tyriar 👍 I actually tried to use |
@amelio-vazquez-reina those are based on common keystrokes and aren't guaranteed to work. I see backward-kill-word is mentioned, I think that's one of them. You can see the comments where these keybindings are added for what they are: vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts Lines 177 to 198 in 78f299e
Also the way I typically get these sequences is by enabling escape sequence logging in VS Code which will print out the character codes that get sent to and from the terminal: But yeah, all this is best effort and may not actually work. Since the sendSequence command and out keybindings system is so flexible though you can get whatever behavior you're after if your shell lets you do it. |
Issue Type: Bug
Just run into this problem today after upgrading to the latest insiders version. See the screenshot below.
VS Code version: Code - Insiders 1.45.0-insider (b83339a, 2020-04-21T05:38:43.781Z)
OS version: Darwin x64 19.4.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Extensions (33)
The text was updated successfully, but these errors were encountered: