You are here: PSPad forum > English discussion forum > Comment in .htaccess
Posted by: Piotr | Date: 2025-07-11 08:42 | IP: IP Logged
Hi,
i add "//" comments in PHP files using my own shortcut: Alt+q.
In .htaccess, my shortcut adds ";".
How to change it to "#"?
File = Assembl.DEF
Thanks!
Posted by: pspad | Date: 2025-07-11 09:27 | IP: IP Logged
hello
I am little confused
You are talking about HTAccess and about PHP
Do you really modified Assembl.def what is used for assembler and not php.def?
Posted by: Piotr | Date: 2025-07-11 09:41 | IP: IP Logged
Thank you for the quick reply.
I think I've always had it set up this way...
When I changed the syntax to php, the comment "//" is added.
Wrong 
How can I control this?
Thanks
Posted by: pspad | Date: 2025-07-11 09:45 | IP: IP Logged
Code clips are stored in the DEF files.
What file is used depends of selected syntax
What syntax is used when you open your .htaccess file? You see it on the statusbar
Posted by: pspad | Date: 2025-07-11 10:10 | IP: IP Logged
OK, in this case Assembl.def is OK
Your clip should looks like:
[comment | comment # ]*Alt+q
# §|
In the menu settings / Clip hotkeys you should see Comment with Alt+q shortcut
Posted by: Piotr | Date: 2025-07-11 10:54 | IP: IP Logged
My shortcut Alt+q set: ";"
;deny from 1.2.3.4
Menu settings / Clip hotkeys set: "# Â"
deny from 1.2.# Â3.4
Edited 1 time(s). Last edit at 2025-07-11 11:03 by Piotr.
Posted by: pspad | Date: 2025-07-11 11:14 | IP: IP Logged
Send me your Assembl.DEF file to my support e-mail please
Posted by: Piotr | Date: 2025-07-11 11:27 | IP: IP Logged
I sent it.
Thank you very much for your help.
Posted by: Piotr | Date: 2025-07-11 13:36 | IP: IP Logged
Thank you very much for your help.
Editor PSPad - freeware editor, © 2001 - 2025 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR