Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve short expressions/statements on single line #338

Closed
mrchief opened this issue Oct 15, 2013 · 1 comment
Closed

Preserve short expressions/statements on single line #338

mrchief opened this issue Oct 15, 2013 · 1 comment

Comments

@mrchief
Copy link

mrchief commented Oct 15, 2013

Preserve short statements/expressions on a single line (based on maxLineLength or similar setting).

So

if(someCondition) { return something; }

instead of :

if(someCondition) { 
  return something; 
}

Related to #315

@bitwiseman
Copy link
Member

This would probably be implemented as another brace option, "collapse-short".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants