I use a custom format and when ever I use it it makes every /* */
comment into
/*
* code
* code
* code
* code
* code
*/
Is there a short key to uncomment this?
I use a custom format and when ever I use it it makes every /* */
comment into
/*
* code
* code
* code
* code
* code
*/
Is there a short key to uncomment this?
This formatting is the default behavior in Eclipse. My advice is to distinguish comments from disabling code.
Comments:
Use the block comment /* ... */
only for real comments, or to insert comments within a single line of code, for example anObject.aMethod(/* what means true here */ true);
.
Disable code:
Comment/Uncomment code always with //
(Ctrl-7)`, in my experience this works perfectly. Then you can also uncomment single lines of the block.