You are here: PSPad forum > English discussion forum > How to comment out a block of code

How to comment out a block of code

#1 How to comment out a block of code

Posted by: rovf | Date: 2022-02-10 12:19 | IP: IP Logged

I believe to remember that there was a command in PsPad which let's me comment and uncomment a block of code, based on the current syntax schema, but I can't find it anymore. It's neither in Edit/LineManipulation nor in Format/BlockFormat, and I have no idea where else to look. Does anybody know where this feature is hiding?

--
Ronald Fischer (Germany)

Options: Reply | Quote | Up ^


#2 Re: How to comment out a block of code

Posted by: pspad | Date: 2022-02-10 12:43 | IP: IP Logged

Hello

There are 2 methods hot to comment block of code
All starts with selecting block of code
With languages supporting line comments, you can use menu format / Comment/uncomment block
With languages like HTML use code clips (Ctrl+Space) and select Block comment

Options: Reply | Quote | Up ^


#3 Re: How to comment out a block of code

Posted by: rovf | Date: 2022-02-11 11:34 | IP: IP Logged

Thanks a lot! I knew it was somewhere .....

Sadly we can't choose between line comment and block comment, but I think I should make this a separate feature request.

--
Ronald Fischer (Germany)

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR