Change ctrl k+c to produce c style comment (/**/) instad of c++ style comments (//) in visual studio

后端 未结 2 1723
迷失自我
迷失自我 2021-01-26 22:08

How do i change the comment style used in visual studio from // to /*...*/ ?

I use the comment shortcut mostly for commenting out code temporar

2条回答
  •  梦谈多话
    2021-01-26 22:19

    ReSharper does this CTRL + SHIFT + C

    Otherwise, a macro would be your best bet, add this to your VS Macros and bind it to a keyboard shortcut of your choosing:

    edit: removed my crappy code, nobugz beat me.

提交回复
热议问题