Answer by abhinav kumar for How to comment a block in Eclipse?
I have Mac ,I was also facing problem to comment multiple line in STSI have triedsingle line comment:command+/Multi line comment:control+command+/ Multi line uncomment:control+command+\ And it was success
View ArticleAnswer by Manoj Kumar Dhar for How to comment a block in Eclipse?
It depends upon the version of OS - for me it works with Command + 7
View ArticleAnswer by jd95 for How to comment a block in Eclipse?
For JAVA : Single line comment: // this is a single line commentTo comment: Ctrl+Shift+CTo uncomment: Press again Ctrl+Shift+CMultiple line comment: /* ......... ......... ......... */ First, select...
View ArticleAnswer by pawan kumar for How to comment a block in Eclipse?
Select the text you want to Block-comment/Block-uncomment. To comment, Ctrl+ 6 To uncomment, Ctrl + 8
View ArticleAnswer by TT-- for How to comment a block in Eclipse?
Eclipse Oxygen with CDT, PyDev:Block comments under Source menuAdd Comment BlockCtrl+4Add Single Comment BlockCtrl+Shift+4Remove Comment BlockCtrl+5
View ArticleAnswer by Isa Souza for How to comment a block in Eclipse?
Using Eclipe Oxygen command+Shift+c on macOSx Sierra will add/remove comments out multiple lines of code
View ArticleAnswer by Dani for How to comment a block in Eclipse?
In addition, you can change Eclipse shortcut in Windows -> Preferences -> General -> Keys
View ArticleAnswer by Lovekush Vishwakarma for How to comment a block in Eclipse?
For single line comment just use //and for multiline comments use /* your code here*/
View ArticleAnswer by causticSand for How to comment a block in Eclipse?
Using Eclipse Mars.1 CTRL+/ on Linux in Java will comment out multiple lines of code. When trying to un-comment those multiple lines, Eclipse was commenting the comments. I found that if there is a...
View ArticleAnswer by Paresh3489227 for How to comment a block in Eclipse?
For Eclipse EditorFor Single Line (Toggle Effect)Comment : Ctrl+Shift+cUncomment: Ctrl+Shift+cFor Multiple Lines (Toggle Effect)(Select the lines you want to comment)comment : Ctrl+Shift+cUncomment:...
View ArticleAnswer by Lovekush Vishwakarma for How to comment a block in Eclipse?
for java codeif you want comments single line then put double forward slash before code of single line manually or by pressing Ctrl+/example: //System.Out.println("HELLO");and for multi-line comments,...
View ArticleAnswer by jechterhoff for How to comment a block in Eclipse?
As other answers pointed out, the following shortcuts are defined by default (I'm referring to editing java source - shortcut bindings can be found in eclipse Window>Preferences, under...
View ArticleAnswer by Kamran for How to comment a block in Eclipse?
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...
View ArticleAnswer by URL87 for How to comment a block in Eclipse?
I have Eclipse IDE for Java Developers Version: Juno Service Release 2 and it is -Every line prepended with //ctrl+/ for both comment and uncomment .
View ArticleAnswer by t3b4n for How to comment a block in Eclipse?
I came here looking for an answer and ended up finding it myself, thanks to the previous responses.In my particular case, while editing PHP code on Eclipse Juno, I have found that the previous commands...
View ArticleAnswer by Ikke for How to comment a block in Eclipse?
There are two possibilities:Every line prepended with //ctrl+/ to commentctrl+\ to uncomment Note: on recent eclipse cdt, ctrl+/ is used to toggle comments (and ctrl+\ has no more effect)Complete block...
View ArticleAnswer by Jon Skeet for How to comment a block in Eclipse?
Ctrl-/ to toggle "//" comments and Ctrl-Shift-/ to toggle "/* */" comments. At least for Java, anyway - other tooling may have different shortcuts. Ctrl-\ will remove a block of either comment, but...
View ArticleHow to comment a block in Eclipse?
Does Eclipse have a hot key to comment a block? and to uncomment a block?
View Article
More Pages to Explore .....