Page 1 of 1

How to uncomment lines?

Posted: Wed Jan 19, 2022 3:56 pm
by yzh_1991

How to uncomment lines that are commented?
Any keyboard shortcuts?
I can't find it. Who knows?


Re: How to uncomment lines?

Posted: Thu Jan 20, 2022 8:51 pm
by DavidGH

Hi,

If you look in Settings > Keyboard shortcuts, and type 'comment' into the search box at the top, you will see:
Edit | Comment line
The default shortcut is Ctrl-/ which will comment/uncomment the current line, or multiple selected lines.

You can also access this from the Edit menu.

Regards,

David


Re: How to uncomment lines?

Posted: Mon Jan 24, 2022 4:42 pm
by yzh_1991

Thank you for your reply.


Re: How to uncomment lines?

Posted: Sat Feb 19, 2022 8:14 am
by ruynox
DavidGH wrote: Thu Jan 20, 2022 8:51 pm

Hi,

If you look in Settings > Keyboard shortcuts, and type 'comment' into the search box at the top, you will see:
Edit | Comment line
The default shortcut is Ctrl-/ which will comment/uncomment the current line, or multiple selected lines.

You can also access this from the Edit menu.

Regards,

David

I don't think it works as intended. In my case, that shortkey combination keeps adding more of these //. I've changed the shortcut and tried again, the result didn't differ.


Re: How to uncomment lines?

Posted: Mon Feb 21, 2022 6:01 am
by ruynox
yzh_1991 wrote: Mon Jan 24, 2022 4:42 pm

Thank you for your reply.

Did that shortcut work for you? I have tried that but it kept adding more one-liner comments(//)...


Re: How to uncomment lines?

Posted: Tue Mar 15, 2022 9:40 am
by yzh_1991
ruynox wrote: Mon Feb 21, 2022 6:01 am
yzh_1991 wrote: Mon Jan 24, 2022 4:42 pm

Thank you for your reply.

Did that shortcut work for you? I have tried that but it kept adding more one-liner comments(//)...

Yes, it works.