'How to detect UI-Interactions in VS-Code using the extension API?

Is there a way to detect (listen to) UI-interactions that the user performs in VS-Code? Like for example clicking the "run" button directly in the editor window or selecting an action from the action bar above (e.g. File > save)? I looked through the extension API but couldn't find anything.



Solution 1:[1]

I was looking for the same. As far as I read this is not possible, due to concerns about performance and some other issues.

See https://github.com/microsoft/vscode/issues/78091#issuecomment-518545491 for the comments.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Barry Norman