Is there a way to auto complete a statement in eclipse? If I type
if (condition)
it should, after pressing some key, become
if (condition) {
// putting cursor here
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can just continue to type the
{and enter, and the closing bracket will be completed automatically without any special command:There is also autocompletion (Crtl-Space), which can do the following
becomes
or