Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes/No Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.77.1 OS Version: Mac OS 12.6.3 Until recently, it was possible to configure the "screencast mode" settings so that the overlay was only displayed when a keyboard shortcut was used. Now, the overlay shows every single keystroke all the time, and there appears to be no way to change this. Steps to reproduce: screencast mode by running "Developer: Toggle screencast mode" from the Command Palette. settings. for "screencast" to filter to just the screencast properties. any combination of properties to limit to only showing the overlay when keyboard shortcuts are entered. typing code into a file and see that every single key stroke displays in the overlay.
According to this is as designed. You reported it as a regression. In which version did you get different behaviour?
I don't know what version of VS Code this was, but in this screencast recording I made on March 18th you'll see that the overlay only appears when I use keyboard shortcuts, Tab, or Backspace (which is my desired behavior.) I have other videos as well if they would be helpful. https://user-
It's possible the specific individual setting ("onlyKeyboardShortcuts") referenced by the author of the previous issue is working as designed, but it may be one (or more) of the other Screencast mode settings that is no longer working as designed.
My comment in should clarify because I'm having same problem as Regression took place from 1.76 -1.77
Fully agree with It is a regression and the comment they referred to backs this up and it's weird that the original bug got closed immediately. The description of the feature in the settings is too ambiguous: it's called "only keyboard shortcuts" suggesting it configures WHEN it's shown it has "do not include action names" in the text suggesting it configures WHAT is shown To me only the first interpretation makes sense because we have (Keyboard Shortcuts Format) for the second. I think the description text should be updated and the functionality reinstated.
I agree. I suggest having a tri-state setting here: Commands only Keyboard shortcuts only Commands and keyboard shortcuts PR welcome.
I'll resolve this issue
hi , I'd like to ask a small question, which behavior is the command in 'Commands only' you are referring to, is it a single key stroke? I'm afraid I'm misunderstanding, I would change this option to control when the screencast is displayed based on these three options
When the user presses a certain key combo, let's say , that means when in the editor. If mode is enabled, I would expect only to appear.
This has been driving me wild, I teach at an online bootcamp and showing key presses for shortcuts is helpful, showing every single keystroke is not!
Surely there is no reason to show all keystrokes. We can already see non-shortcut keystrokes-- they appear in the editor window...
Going with a full options bag that allows users to mix and match what the keyboard overlay displays: <img width="736" alt="image" src=""Verification: Make sure all combinations of the property bag work as expected.
I tested things out with the settings available in the latest release (1.81.0), and I still see ALL keystrokes regardless of whether it's a shortcut/command or not. If I uncheck "Show raw keys" and execute a shortcut or command action, it only shows the name of the command action and doesn't show the keystroke combination to execute it. If I check "Show raw keys" back on, it shows the keystroke combination for commands but will also show general keystrokes when typing. While it's certainly nice to see the simplified screencast mode keyboard options, I think the reasoning behind this issue is missed and should be re-opened.
Simply: we need to present shortcuts but not all keystrokes (and it was working in 1.76.2)
! With these options, no display of commands currently happens. The only option seemingly working is show raw keys. Again, the desire is to be able to only show commands of shortcuts with their command name, as of 1.81.1 this is still not working. I want nothing to show unless I hit a command such as Ctrl+S to save, display should be "Ctrl + S Save" -- as others have said, this was the behavior available in 1.76
I was also disappointed to not be able to show the keys that are part of a command, without also showing all keys (even when typing in the editor).
You guys are absolutely right. Pushing one more setting flag:
Tested insiders and problem persist: Version: 1.83.0-insider (user setup) Commit: Date: 2023-09-21T05:34:38.227Z Electron: 25.8.1 ElectronBuildId: Chromium: 114.0.5735.289 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0. "screencastMode.keyboardOptions": { "showKeys": false, "showCommandGroups": true } ! When typing i.e. CTRL+SHIFT+R (code refactoring in editor) with above settings I cannot get this keys/shortcut displayed. Same as for CTRL + . and so on.
maybe you are seeing
exactly, and as is fixed finally after half year waiting I can get my shortcut displayed without single key logging

Discussion:
interface IScreencastKeyboardOptions { readonly showKeys?: boolean; <ins> readonly showKeybindings?: boolean; </ins> readonly showCommands?: boolean; readonly showCommandGroups?: boolean; readonly showSingleEditorCursorMoves?: boolean;

append(keyboardMarker, $('span.title', {}, `${commandAndGroupLabel} `)); } <del> if (options.showKeys ?? true) { </del> <ins> if ((options.showKeys ?? true) || (command && (options.showKeybindings ?? true))) { </ins> // Fix label for arrow keys keyLabel = keyLabel?.replace('UpArrow', '↑') ?.replace('DownArrow', '↓')

default: true, description: localize('screencastMode.keyboardOptions.showKeys', "Show raw keys.") }, <ins> 'showKeybindings': { type: 'boolean', default: true, description: localize('screencastMode.keyboardOptions.showKeybindings', "Show keyboard shortcuts.") }, </ins> 'showCommands': { type: 'boolean', default: true,

}, default: { 'showKeys': true, <ins> 'showKeybindings': true, </ins> 'showCommands': true, 'showCommandGroups': false, 'showSingleEditorCursorMoves': true