Search code examples
functionvisual-studio-codecommentsfunction-declaration

Is there a shorcut to comment like this /** */ in Visual Studio code?


I know that there is shift + alt + A

But i wonder if there is a shortcut to comment like this:

> /** */ 

In order to give a function a describe

like this:

>   /**   
>   * Start the camera application and return information about
>   * captured imagefiles.   
>   * @param options   
>   * @returns {Promise<MediaFile[]>}
>   */

Solution

  • It like @Mark said its autogenerate when you type /** I was so used to use shift + alt + A that I didn`t realized