For single line comment you can use Ctrl + / and for multiple line comment you can use Ctrl + Shift + / after selecting the lines you want to comment in java editor.
On Mac/OS X you can use ⌘ + / to comment out single lines or selected blocks.
More Related Contents:
- How to add a shortcut key for a jbutton in java? [closed]
- Eclipse Optimize Imports to Include Static Imports
- Is there a way to automatically generate getters and setters in Eclipse?
- How to add shortcut keys for java code in eclipse
- When does object pointed by 'Example.class' come into existence?
- Access restriction on class due to restriction on required library rt.jar?
- NoClassDefFoundError – Eclipse and Android
- How to create a jar with external libraries included in Eclipse?
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Build Eclipse Java Project from Command Line
- SQLite in Android How to update a specific row
- How to change JDK version for an Eclipse project
- “Unable to acquire application service” error while launching Eclipse
- Preserving parameter/argument names in compiled Java classes
- Eclipse – “Incompatible JVM. Version 1.8.0_261 of the JVM is not suitable for this product. Version: 11 or greater is required”
- What is “compiler compliance level” in Eclipse?
- How to generate Javadoc HTML files in Eclipse?
- Attach the Source in Eclipse of a jar
- Invoking Java main method with parameters from Eclipse
- Display omitted versions in maven dependency:tree?
- eclipse with Android sdk, ERROR: Java heap space
- Java equivalent to #region in C#
- How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9
- how to export (JUnit) test suite as executable jar
- Java Regex pattern that matches in any online tester but doesn’t in Eclipse
- Find methods calls in Eclipse project
- How to create a executable jar file for Testng and the runnnig point should be the Xml file
- Eclipse > Java > open linked resources sources (.java instead of .class )?
- What does the “Multiple markers” mean?
- Where are the generated JSP class files located?