Multi Line Comment shortcut
Add /* / multi line comment shortcut for highlighted code in text editor. See SSMSBoost pro for example CTRL+.
2
votes
![](https://secure.gravatar.com/avatar/cce97452bac4aa8517b11a08c2ab3891?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Sean Redmond commented
Have an option to replace -- (on a line by line basis) with /**/ at the beginning & end of the selected text when the «Comment out lines» command/button in SSMS is chosen/pressed.
The idea came to mind after watching this Brent Ozar video:
https://www.brentozar.com/archive/2021/04/never-ever-ever-start-t-sql-comments-with-two-dashes/ -
Anonymous commented
Have you tried CTRL+K, CTRL+C? This put -- before the selection