comment out lines in C++ and makefiles

Asked by xykivo

Hi

Great editor.
Just started and I already find it much better than many others.

How do I comment out lines in C++ and makefiles?

Thanks

Xykivo

Question information

Language:
English Edit question
Status:
Solved
For:
Scribes Edit question
Assignee:
No assignee Edit question
Solved by:
Mystilleef
Solved:
Last query:
Last reply:
Revision history for this message
Mystilleef (mystilleef) said :
#1

Open a bug report for this.

Revision history for this message
Fabian Bull (bull-fabian) said :
#2

In C++ lines are commented with // .
Every word in the line after "//" will be ignored.

For Makefiles some follows for "#" .

Revision history for this message
Best Mystilleef (mystilleef) said :
#3

I think what he wants is a function that allows him to comment lines in C++ and Makefiles. <alt>c does this for languages like JavaScript, Python, Ruby, Perl, and so on. There's none for C++ and Makefiles yet. I'll work on it when I have time.

Revision history for this message
xykivo (dror-smolarsky) said :
#4

Hi

Yes, what I need is something like <alt>c for C/C++ and makefiles.
It works for python (didn't check others languages).

Thanks

Revision history for this message
Brian Kent (bpkent) said :
#5

Hi,

I just discovered Scribes and I love it. I humbly request similar <alt>c comment blocking for R - it would certainly fit the Scribes philosophy of streamlining workflow by removing silly repetition.

Thanks,
Brian

Revision history for this message
Mystilleef (mystilleef) said :
#6

Brain,

Please file a bug report on launchpad.

Thanks

Revision history for this message
Brian Kent (bpkent) said :
#7

ok, the R comment toggle is now bug #696970.

Thanks,
Brian