How to add a shortcut to my VsCode extension?

I created an extension with VsCode but I want to start my extension without typing the command in the command bar (CTRL + SHIFT + P). I dont know how to achieve this.

Something like this:

enter image description here

If we click on Ponicode: Unit Test, it starts the command directly.

>Solution :

The feature you are searching about is CodeLens.



Extensions using CodeLens

Leave a Reply