Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncomment multiline code in eclipse

Tags:

eclipse

Yes, this could be duplicate of Eclipse comment/uncomment shortcut? But, answers given their are not working for my case.

I have formatted java code and When I select and use ctrl + shift + / it looks like

/*
 * if (isKilled) { Log.i("TAG", "Killed"); }
 */

But when I use ctrl + shift + / for above selected code, eclipse is not un-commenting my code.

I tried ctrl + shift + \, ctrl + shift + / and ctrl + \. Nothing worked. I always manually remove *s even if commented code is very big.

How to do this? I also want *s to be removed.

like image 837
Sundeep1501 Avatar asked Feb 12 '14 09:02

Sundeep1501


People also ask

How do you uncomment multiple lines in cucumber feature in Eclipse?

Comments in Feature File In Eclipse, to comment a multi-line or use block comment first select all the line to be commented and then press Ctrl + /. Similarly, to remove comments, we need to press Ctrl + \.


1 Answers

Try using Ctr+Shift+C This should work

like image 194
Pratik Roy Avatar answered Oct 06 '22 19:10

Pratik Roy