comment out lines in C++ and makefiles

Asked by xykivo on 2010-06-20

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:
2010-07-27
Last query:
2010-07-27
Last reply:
2010-07-27
Mystilleef (mystilleef) said : #1

Open a bug report for this.

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 "#" .

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.

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

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

Mystilleef (mystilleef) said : #6

Brain,

Please file a bug report on launchpad.

Thanks

Brian Kent (bpkent) said : #7

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

Thanks,
Brian