Listen for editor commands in VS Code

点点圈 提交于 2019-12-20 04:16:24

问题


I am building an extension for VS Code. My extension will show the key bindings associated to a recently action (I am a fan of this for helping me learn key bindings).

Looking through the documentation there seems to be a way to access the commands in the editor, but no way that I can find to listen for actions / commands as they are invoked.

Is this possible with the current API? Or should I create a feature request in Github?


回答1:


This isn't possible with the current release 0.10.3. I opened an issue in Github and was told by one of the devs that its not possible right now. It is a feature request for future versions. If it becomes available I'll update it here.



来源:https://stackoverflow.com/questions/34326425/listen-for-editor-commands-in-vs-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!