Search code examples
c#visual-studiocomments

Comment selection not working in visual studio community 2019


I am trying to comment selected code and I am pressing correct buttons but nothing happens. Maybe someone had this problem, how to fix it?

Visual Studio Community 2019 16.8.1

Image


Solution

  • It was conflicting with other shortkeys. You should go to Tools > Options > Environment > Keyboard > Edit.CommentSelection and make other shortcut. I made alt+/. Thanks @jdweng for answer.