How to apply "wrap when typing reaches right margin" in Intellij IDEA? -



How to apply "wrap when typing reaches right margin" in Intellij IDEA? -

if set "wrap when typing reaches right margin" in cody style -> general preferences , defined new margin, how apply new settings files reformatted?

very easy:

select root of module in project view in code menu select "reformat..."

edit

forgot mention of import detail:

ide settings > code style > java > wrapping , braces > ensure right margin not exceeded

must checked. (at to the lowest degree reformat java files, same checkbox other files exists)

intellij-idea

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -