Reputation: 86085
Any quick way to comment/uncomment java source code in Eclipse?
Upvotes: 2
Views: 7032
Reputation: 62593
Ctrl + Shift + / and Ctrl + Shift + \ toggles C-style comments.
Ctrl + / toggles single-line comments.
Upvotes: 10
Reputation: 13174
For Multiline Comments:
Comment: Ctrl + Shift + / Uncomment: Ctrl + Shift + \
For Single Line Comments:
Comment/Uncomment: Ctrl + /
Upvotes: 4