I am using emacs with the major mode "Java/L Abbrev" activated. When I type M-x comment-region
or M-x uncomment-region
the desired effects happen in the editor. But I am getting tired of typing this out every time.
I have found that I can type C-c C-c
and comment a region. I want to find a similiar way to uncomment a region. I go to the emacs docs:
https://www.gnu.org/software/emacs/manual/html_node/ccmode/Comment-Commands.html
And it says to give the C-c C-c
command a negative argument to uncomment lines. How do I do this? or is there a better way?
Please try M-;
, which is bound by default to comment-dwim
. I think this should do what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With