Multi Line Comment shortcut
Add /* / multi line comment shortcut for highlighted code in text editor. See SSMSBoost pro for example CTRL+.
2
votes
Anonymous
shared this idea
-
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