I used to be able to turn multi-line codes into a single line by clicking on the minus sign on the left of the code and add // to comment out a multi-line code. Now when I do it, the code just gets deleted…
What do I do?
out in a one action with Ctrl-Shift-C. And, by the way, it works in reverse too - uncomment that code later with the same key sequence. If you prefer using the mouse, you can also use the buttons at the top of the editor window to comment and uncomment.
Multi-line comments start with /* and ends with */ . Any text between /* and */ will be ignored by Java.
Multi line comments in Java start with /* and end with */. You can comment multiple lines just by placing them between /* and */.
Simply Select all lines and press Ctrl+/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With