How can I get keystrokes to be displayed on-screen in VS Code? [closed]
Asked Answered
S

3

21

How can I get the keystrokes I enter to be displayed on-screen in VS Code? This would be for presenting or doing screencast.

Secretarial answered 7/8, 2018 at 18:16 Comment(0)
C
41

v.1.31 has added a screencast mode, see toggle screencast mode:

Screencast Mode

There is a new Screencast Mode in VS Code, which highlights the cursor position and keystrokes. Screencast Mode (Developer: Toggle Screencast Mode) can be useful for demonstration purposes.

demo of screencast mode

There are a couple of accompanying settings:

Screencast Mode: Only Keyboard Shortcuts

Only show keyboard shortcuts in Screencast Mode.

Screencast Mode: Vertical Offset

Controls the vertical offset of the screencast mode overlay from the bottom as a percentage of the workbench height.

Convolution answered 6/2, 2019 at 22:19 Comment(1)
G
4

Carnac should work as normal in VSCode - have you launched Carnac as adminitrator? It needs elevated privileges to read input without focus.

Gratian answered 15/8, 2018 at 13:42 Comment(2)
Well look at that...the one thing I had not done. Sure enough works.Secretarial
Second read and this is not actually the full reason. It has nothing to do with focus because the app I'm trying to use is the "focused" app I'm using.Secretarial
S
3

I figured out the full reason this was not working is because I have VS Code starting in elevated privileges. So Carnac apparently cannot work against the application when it is not running under elevated privates as well.

I started VS Code as normal user, and start Carnac then everything works as expected.

I start VS Code as elevated user (as admin) and then Carnac has to be running in the same fashion for it to pick up the keystrokes.

Secretarial answered 19/8, 2018 at 4:18 Comment(1)
VSCode screencast mode show the keys being pressed (normal typing) as well, is there any way it would only show combination keys pressed and not the normal keys I press for typing?Vorfeld

© 2022 - 2024 — McMap. All rights reserved.