Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@pif
Copy link

@pif pif commented Apr 3, 2013

I've read a Project List page. "Else"-autoformat is one of the most-improtant ones.

This commit fixes #364.
"else" statements are correctly formatted.

Autoformat Before:

  if(i%20 == 0) {
    println("hello world 1");
  } 
  else {
    println("hello world 2");
  }

Autoformat After:

  if (i%20 == 0) {
    println("hello world 1");
  } else {
    println("hello world 2");
  }

benfry added a commit that referenced this pull request Apr 11, 2013
Fixed "else" Autoformat issue #364
@benfry benfry merged commit d96c750 into processing:master Apr 11, 2013
@benfry
Copy link
Contributor

benfry commented Apr 11, 2013

Awesome! Thanks so much.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto Format: "if-else" block formatting doesn't follow Processing conventions

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.