在 VSCode 中格式化注释块

时间:2021-05-12 17:47:36

标签: visual-studio-code format comments

我希望在 VSCode 中有一个快捷方式来突出显示我的代码并注释掉:

/**
 * Example comment block
 * with description
 */

目前这是 VSCode 自动使用 OPTION + SHIFT + A 对其进行注释的方式:

/*   Example comment block
  with description */

我似乎找不到格式化程序来修复保存。我还发现了一些语言配置 - https://code.visualstudio.com/api/language-extensions/language-configuration-guide。但是它似乎只控制 /**/

0 个答案:

没有答案