New to CudaText, just a few days using, and thought I had it pretty much figured out, until today nothing I do will make it comment out any text at all in HTML files. I have ctrl-/ as keyboard shortcut, and it works OK in every other file type, but HTML, can't get it working.
Looked through the default config and my user.json, but nothing seems to stand out as being likely to be the issue. I have the Comments plugin installed and the HTML lexer is working fine for syntax, auto-complete is OK, just can not comment out a line or a block.
Anyone else seen this, and/or could someone point me in the direction of where I have this wrong? It's not a game changer but it is surely annoying
Many thanks
Tony
HTML commenting not working
-
- Posts: 392
- Joined: 01.12.2020 13:46
> I have ctrl-/ as keyboard shortcut, and it works OK in every other file type, but HTML, can't get it working.
Ctrl+/ is a hotkey for 'toggle LINE comment', while for HTML you need STREAM comment!
https://wiki.freepascal.org/CudaText_plugins#Comments
so assign a hotkey to 'toggle stream comment' command
(F9 in CommandPalette).
Ctrl+/ is a hotkey for 'toggle LINE comment', while for HTML you need STREAM comment!
https://wiki.freepascal.org/CudaText_plugins#Comments
so assign a hotkey to 'toggle stream comment' command
(F9 in CommandPalette).
The universal rule that as soon as you post to a forum saying
you find out how to do it, has just struck again, as I was setting up block comments for Raku code when I realised my error. Thanks for getting back to me so quickly, advice taken, hotkey about to be assigned for this!this thing isn't working, how do I...?