line length limit format



Is there a way so that when Code (menu) -> Reformat Code... command is used, all the lines are automatically trimmed down to the specified length and the remaining code is moved to next line? Thanks

The right margin for editing windows was set in the the Code Style section.

Comment actions Permalink

Are you formatting java code? Check Settings/Preferences | Code Style | Java | Wrapping and Braces tab. Check 'Ensure right margin is not exceeded' and look through other options if needed.

Comment actions Permalink

do you know of any thing like this for kotlin, I can manually change the various options from do not wrap to wrap if long but I cannot get everything covered there.

Comment actions Permalink

Please use for any questions related to Kotlin.


Please sign in to leave a comment.