Hello,
I’m wondering, is there a macro (or any other feature in Kate available to convert a ‘marked’ text into a cpp?
something like Lorem ipsum dolor sit amet, consectetur adipiscing elit.
to
/* Lorem ipsum dolor sit amet, consectetur adipiscing elit. */
type comment?
Or is that something that I should try to resolve through a keyboard macro?
(Any suggestions for that?)
Any suggestion is much appreciated.
TIA
I’m not at my computer to check the settings, but if I highlight some text and hit Ctrl+/ Kate makes the highlighted text into a comment. (It uses the file type to figure out the comment format, I believe)
You’re right. CRTL + / changes the marked lines into ‘single’ comment lines (// …)
This action is listed in section katepart under "Settings → Configure Keyboard Shortcuts.
And it appears there is no shortcut for the ‘multi line’ comment.
At least I couldn’t find one.
Perhaps I should file a feature request in the KDE bug tracking system.
Thanks