how to reformat existing code to right margin 80?

Hello,

I set in Editor options 80 for right margin
but after I run reformat for my code it did nothing.

what I'm missing here?

tnx


8 comments

add a bug to the idea tracker!!!

0

in IDE Settings/Code Style/Work In Progress, make sure you turn on wrapping for all desired cases.

Jacques

0

I can't find any "Work In Progress" in the idea.
I have v. 696

what I'm missing?

tnx

0

This functionality wasn't present in IDEA 3.0 (build 696 is one of the 3.0
releases). It's one of the many things that is being added in the new early
access version - Aurora - which is currently at build #811. Have a look at
the EAP site (http://www.intellij.net/) to find out more about it.

Hope that helps,
Vil.

Michael Kor wrote:

I can't find any "Work In Progress" in the idea.
I have v. 696

what I'm missing?

tnx


--
Vilya Harvey, Consultant
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0

first - Thank you

I upgrade 696 to 811 and reformat all my code, but
I'm still getting a probl with 80 chars limitation

idea doesn't wrap that:

public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws IOException,
ServletException {

I selected everywhere wrap where exceeds

what I'm missing now?

tnx

0

also doesn't reformat any comments
and that line too -

selectedAgreement = ((LabelValueBean) agreementList.get(0)).getValue();

0

It is still a work in progress, so don't be too surprised to find problems
with it. Have a look through the tracker and vote for the appropriate bug
requests, or add them yourself if you can't find any.

Enjoy,
Vil.

Michael Kor wrote:

first - Thank you

I upgrade 696 to 811 and reformat all my code, but
I'm still getting a probl with 80 chars limitation

idea doesn't wrap that:

public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws IOException,
ServletException {

I selected everywhere wrap where exceeds

what I'm missing now?

tnx


--
Vilya Harvey, Consultant
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0

Even I tried with build #896. Even now it is not working for me. Is it working for you now? Have you tried with the lates build?

0

Please sign in to leave a comment.