Reputation: 14711
Recently I set my line length limit to 100 or 120 and I also enabled an option that will wrap the code that exceeded those limits to the next line, whenever I clicked Code Format.
Now I want to disable that wrap and do it manually, but I don't know where that setting was.
Upvotes: 0
Views: 655
Reputation: 22965
In Android studio go to
Preferences > Editor > Code Style > Java > Wrapping and Braces > Keep when reformatting and uncheck the checkbox Line Breaks
Upvotes: 2
Reputation: 3567
Go to File->Settings->Editor->Code Style
There you'll find the two options "Right margin (columns)" and "Wrap when typing reaches right margin".
Upvotes: 0