Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » how can I Automatic commented code
how can I Automatic commented code [message #1732871] Sat, 21 May 2016 02:27 Go to next message
Feng fengzheng1995gmail.com is currently offline Feng fengzheng1995gmail.comFriend
Messages: 2
Registered: May 2016
Junior Member
In the Eclipse for Java,I can used ctrl+shift+j to Automatic commented code with the parameter.
Anybody knows how to solve this problem?thank you.
Re: how can I Automatic commented code [message #1732969 is a reply to message #1732871] Mon, 23 May 2016 06:29 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
You can use ctrl-/ to comment with a single line comment
This works on the current line or within a block of selected lines.

To comment with a multiline comment (/* ... */) use ctrl-shift-/ but this only works on selected lines.

EDIT: I'm assuming you just want to comment code lines. I don't use java much and don't really know what ctrl+shift+j does in the java perspective.

[Updated on: Mon, 23 May 2016 12:59]

Report message to a moderator

Re: how can I Automatic commented code [message #1734302 is a reply to message #1732969] Tue, 07 June 2016 01:18 Go to previous message
Feng fengzheng1995gmail.com is currently offline Feng fengzheng1995gmail.comFriend
Messages: 2
Registered: May 2016
Junior Member
thank you very much for your help.
alt+shift+j can auto creat a part of the comment with function like this
index.php/fa/26088/0/
I'am sorry.It's alt+shift+j
  • Attachment: 2.jpg
    (Size: 8.78KB, Downloaded 465 times)

[Updated on: Tue, 07 June 2016 01:19]

Report message to a moderator

Previous Topic:Launching eclipse IDE failed on ubuntu 16.04
Next Topic:Privileged container support in eclipse CDT
Goto Forum:
  


Current Time: Sat Apr 20 05:18:58 GMT 2024

Powered by FUDForum. Page generated in 0.03078 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top