Any keyboard shortcut for uncommenting the code?

General questions regarding the usage of CodeLite
bkankur
CodeLite Curious
Posts: 8
Joined: Tue Dec 23, 2008 10:31 am
Contact:

Any keyboard shortcut for uncommenting the code?

Post by bkankur »

Dear Friends,

This is one of the best IDE I have used, and I am using it since few days only but I really like it and also referring it to my colleagues and my other friends.
I have two questions
1) how to uncomment the code using shortcut keys ? I tried to find it under Settings->keyboard shortcuts.
2) Also, If someone has used kwrite in linux, one can comment the code just by using shortcut keys and need not select the line to be commented. I mean if one wants to comment a single line, then he/she dont have to select it before doing comment/uncomment. If above feature is already there, then can anyone share it with me?

A lots and lots of Good & Pure blessing to all who are being part of such a Extraordinary IDE.

Thanks to all,
Ankur.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Any keyboard shortcut for uncommenting the code?

Post by eranif »

ctrl-shift-p to comment line in C++ style (//)
ctrl-shift-c to comment the selection in C-style (/* ... */)

hitting ctrl-shift-p on line which was commented previously with C++ style will toggle the comment
EDIT:
Look harder in 'keyboard shortcuts' Under:
menu: C++
action: Toggle Line Comment

and also:
menu: C++
action: comment selection

Eran
Make sure you have read the HOW TO POST thread
bkankur
CodeLite Curious
Posts: 8
Joined: Tue Dec 23, 2008 10:31 am
Contact:

Re: Any keyboard shortcut for uncommenting the code?

Post by bkankur »

Excellent.. Thanks once again. Great Work !!

Its a ALLROUNDER IDE !! :)
Post Reply