oracle-sqldeveloper

Commenting out in a bulk SQL developer


How to single comment out selected text in a bulk? I have 100+ lines of text that have to be commented out, single line each but idk how to do it, you can only comment out in bulk multiple lines that are treated like one entity using /* text */, but I want to transform:

a
b
c

into:

--a
--b 
--c

in a single command, anyone knows how to do it?


Solution

  • Highlight the lines and then use: